I love the idea, but it feels very un-serious as an attempt to educate people or reduce light pollution, which makes me very sad as someone who cares about reducing light pollution :'(
Why can't I create any light pollution no matter what I do? The stars wink out when the light pollution is 1000x less bright than the stars. It just feels completely disconnected from what I know light pollution feels like.
If I may make a technical suggestion, accurately representing the "qualia" of what both the presence and absence of colorful light feels like on a monitor requires compressing the color space a bit. Take a gander at this: https://brandonli.net/spectra/doc/
Ok, even so the quality degrades a lot, i added the webgl2 version,
it shall load as fallback, if webgpu is not enabled,
but can as well be enforced, to see the difference:
https://iesna.eu/?wasm=skyglow_demo&force=webgl2
I should have mentioned:
WebGPU is needed, on Safari there is a bug in the Bevy Overlay, so you only see flickering (very annoying!)
This is an upstream issue (on to it)
So FF and Chrome works fine (if WebGPU is enabled!)
All I get is an empty, dark blue page after I hit Launch Demo. Perhaps that does look a bit like a night sky, but I don't think that's what you're going for :)
Tested in Firefox/Brave/Chrome on Linux.