Show HN: Rust/WASM lighting data toolkit – parses legacy formats, generates SVGs
Hacker News (score: 16)Description
I built this to scratch my own itch and put it on crates.io and PyPI where nothing like it existed.
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.
The new standards (TM-33, ATLA-S001) are barely supported by existing tools.
So this handles both: legacy formats for compatibility, spectral data for anyone who wants to work with the new standards.
Stack: Rust core, then UniFFI for bindings. One codebase compiles to WASM/Leptos, egui, SwiftUI, Jetpack Compose, PyO3.
At one point the generated Swift boilerplate got so large GitHub classified it as a Swift project. 3D viewer is Bevy, loaded on-demand.
Feedback welcome – especially on the SVG output and the 3D viewer.
https://github.com/holg/eulumdat-rs (MIT/Apache-2.0)
More from Hacker
Generate QR Codes with Pure SQL in PostgreSQL
Generate QR Codes with Pure SQL in PostgreSQL
Obelisk 0.32: Cancellation, WebAPI, Postgres
Obelisk 0.32: Cancellation, WebAPI, Postgres
Show HN: A Claude Code plugin that catch destructive Git and filesystem commands
Show HN: A Claude Code plugin that catch destructive Git and filesystem commands
Show HN: Mushak – Zero config zero downtime Docker/Compose to server deployment
Show HN: Mushak – Zero config zero downtime Docker/Compose to server deployment
No other tools from this source yet.