5-or-so years ago I came across a raytracing simulator that looked a bit like this, but did a full spectrograph IC light simulation on top. I haven't been able to find it since, but it was a fascinating little toy to play around with.
Very nice, color me impressed. A presentation with a button to run the thing, and a button to get to the sources. Have you seen the sources? Pure JS, no NPM hell, no build steps. And finally someone making use of the fact that our sources are all UTF-8 now :)