Live data from Hacker News

Show HN: Browser-based light pollution simulator using real photometric data

iesna.eu

11–20 of 22 posts

Re: Show HN: Browser-based light pollution simulator using real photometric data

#11
post #10

Earlier quoted context omitted.

I suspect that another part of it is that you're accounting for the effect of the lights in the scene on the sky, but very few of the lights involved in light pollution will be lights that you can directly see -- the only evidence they exist will be from their upward scattering. So here's the suggestion: there should be a "number of upward lights" slider which should influence an atmospheric light haze shader which,…

That's the real good proposal. I must admit, my focus was on the street lights, which in general are already almost good, compared to what you mention Thanks a lot

Yeah the streetlights are great with that sodium carbide feeling. Having the sodium carbide horizon blend in with the sodium carbide buildings and trees and lamps will really sell the effect

Re: Show HN: Browser-based light pollution simulator using real photometric data

#12
post #10

Earlier quoted context omitted.

That's the real good proposal. I must admit, my focus was on the street lights, which in general are already almost good, compared to what you mention Thanks a lot

Yeah the streetlights are great with that sodium carbide feeling. Having the sodium carbide horizon blend in with the sodium carbide buildings and trees and lamps will really sell the effect

Yup, so actually my take as well is, the scene itself is imperfect, i took some known and easy to implement one. So some scene, where some high building is illuminated up, would be desirable...

Re: Show HN: Browser-based light pollution simulator using real photometric data

#13
post #4

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!)

You’re going to get a lot of mobile iPhone users disappointed, since the main browser engine even in HN apps is Safari. Maybe a warning would encourage them to try the site elsewhere instead of closing it in disappointment?

Re: Show HN: Browser-based light pollution simulator using real photometric data

#14
post #6
post #2

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.

https://iesna.eu/?wasm=skyglow_demo&force=webgl2 , tested on wsl2 ubuntu, sorry linux machine in the office :D

That works great, thanks!

Re: Show HN: Browser-based light pollution simulator using real photometric data

#15
post #13
post #4

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!)

You’re going to get a lot of mobile iPhone users disappointed, since the main browser engine even in HN apps is Safari. Maybe a warning would encourage them to try the site elsewhere instead of closing it in disappointment?

i agree, sorry this is some edge-tech, so for safari it is a bit tricky, as it reports to have webgpu, but &force=webgl2 will do the trick. I am working on the fix to have webgpu behave properly on Safari

Re: Show HN: Browser-based light pollution simulator using real photometric data

#18

Love this tool - actually the idea itself - since I am fighting heavily against unnecessary outdoor lighting, especially with the new LED lights which I find terribly disturbing.

Thanks, well i got more feedback, so i figured out it shall be done even better...
Post reply on HN