Yay!  I found the problem!  It was that the default JavaScript sort function sorts by string equivalents instead of by number values.  I was looking for the answer to why the atom default state didn't match the simulation ground state, and I realized the states were sorted wrong, and that also turned out to be the issue with the energies not being within the visible light spectrum!
Yay!  I found the problem!  It was that the default JavaScript sort function sorts by string equivalents instead of by number values.  I was looking for the answer to why the atom default state didn't match the simulation ground state, and I realized the states were sorted wrong, and that also turned out to be the issue with the energies not being within the visible light spectrum!

Connexions/simulations,Connexions/simulations