The Colors of Chemistry
jiahao.github.io
jiahao.github.io
Still, Julia is neat though.
So many factors go into color matching and this is just the tip of the iceberg. Pigments vs dyes, solutions vs solid substrates, angles, light sources, observers...etc. Color is subjective, so creating an objective color-output that matches an average person's perceptual color vision is one hell of a fascinating, and expensive puzzle.
λ->planck(λ*nm,T=T)*m^3/Watt*cie_color_match(λ)
This syntax made me cringe hard. Kids these days… def def(x):
pass
Weird, uh?