HeadlinesBriefing favicon HeadlinesBriefing.com

Browser‑Based Light Pollution Simulator Shows Real‑Time Skyglow

Hacker News •
×

Author of iesna.eu unveiled a browser‑based ecosystem that parses standard luminaire files—LDT/EULUMDAT, IES LM‑63, Oxytech, ATLA‑S001—and runs design calculations against EN 13201, ANSI/IES RP‑8, CJJ 45, and IES‑IDA MLO. The standout feature renders real urban scenes in Bevy, letting photometric data drive streetlight behavior and sky‑glow in real time. Compiled to WebAssembly, the tool runs entirely in the browser, eliminating any server component.

The Skyglow Analysis demo loads an actual LDT file onto a Khronos Bistro test asset; the luminaire’s intensity distribution feeds the 3‑D rendering. Adjusting uplight percentage updates the sky‑glow grade, shifting from severe F to excellent A when swapping to a full‑cutoff fixture, and the change reflects on surrounding buildings as well. Roughly a thousand lines of new code bridge the photometric library to Bevy.

A Rust core stitches together ~20 crates—including eulumdat‑rs—for photometric parsing, while Bevy handles graphics and WebAssembly delivers a client‑side experience. The author seeks feedback on whether a single‑scattering Rayleigh‑Mie atmospheric model suffices and asks for an urban geometry asset to replace the Bistro scene. CJJ 45 support came from translated PDFs, so any primary‑source validation would help. Code is hosted on GitHub under eulumdat‑rs.