light

Javascript code to convert light wavelength to color

In the electromagnetic spectrum illustration and light color, frequency and wavelength post, I needed to calculate color from wavelength value. I tried a few different approaches but finally settled on a modified version of some widely cited FORTRAN code for determining RGB values.

Light Color, Frequency and Wavelength Illustration

Beginning work on an illustration covering the relationship between the frequency

Subscribe to RSS - light