This is a quick proof of concept of adapting Andrew Duffy's code, on the way to making a full blown reimplementation of the original NAAP spectrum explorer.
Based on the Emission Spectra Javascript simulation by Andrew Duffy and the NAAP project's Spectrum Explorer
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.