{"by":"holg","descendants":5,"id":46348344,"kids":[46357130,46353478],"score":52,"text":"Hi HN, I&#x27;m Holger, a developer who worked in the lighting industry.<p>I built this to scratch my own itch and put it on crates.io and PyPI where nothing like it existed.<p>The old file formats (EULUMDAT from 1990, IES from 1991) still work fine for basic photometry. But the industry is moving toward spectral data – full wavelength distributions instead of just lumen values.<p>The new standards (TM-33, ATLA-S001) are barely supported by existing tools.<p>So this handles both: legacy formats for compatibility, spectral data for anyone who wants to work with the new standards.<p>Stack: Rust core, then UniFFI for bindings. One codebase compiles to WASM&#x2F;Leptos, egui, SwiftUI, Jetpack Compose, PyO3.<p>At one point the generated Swift boilerplate got so large GitHub classified it as a Swift project. 3D viewer is Bevy, loaded on-demand.<p>Feedback welcome – especially on the SVG output and the 3D viewer.<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;holg&#x2F;eulumdat-rs\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;holg&#x2F;eulumdat-rs</a> (MIT&#x2F;Apache-2.0)","time":1766350614,"title":"Show HN: Rust/WASM lighting data toolkit – parses legacy formats, generates SVGs","type":"story","url":"https://eulumdat.icu"}