This is an HTML5 reimplementation of the NAAP spectrum explorer.
This simulator is part of the Foothill AstroSims project, which is aiming to reimplement, in HTML5, Flash-based simulations that are used in Foothill Astronomy courses, as well as developing new simulations covering topics previously unaddressed by Astro-education simulations.
Display code (in particular, the translation from wavelength to RGB) is based on the Emission Spectra Javascript simulation by Andrew Duffy, from his collection at https://physics.bu.edu/~duffy/sims.html
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.