| Crates.io | gldf-rs-wasm |
| lib.rs | gldf-rs-wasm |
| version | 0.3.3 |
| created_at | 2023-09-01 14:39:32.982175+00 |
| updated_at | 2025-12-16 15:19:16.598453+00 |
| description | WebAssembly GLDF viewer - parse and display GLDF lighting data files in the browser |
| homepage | https://gldf.icu |
| repository | https://github.com/holg/gldf-rs |
| max_upload_size | |
| id | 960968 |
| size | 1,189,123 |
A WebAssembly-based GLDF (General Lighting Data Format) viewer and editor.
GLDF-RS-WASM provides an interactive web application for viewing and editing GLDF files directly in the browser. It leverages WebAssembly for high-performance parsing and rendering of lighting product data.
This crate relies on excellent Rust libraries for the heavy lifting:
| Crate | Purpose |
|---|---|
| gldf-rs | Core GLDF parsing and manipulation |
| l3d-rs | L3D 3D model format parsing |
| eulumdat | Eulumdat/LDT photometry file parsing |
| three-d | WebGL 3D rendering |
| yew | Reactive web framework |
Try it at: https://gldf.icu
Embedded Eulumdat files can be opened directly in https://eulumdat.icu - a WASM-based Eulumdat editor and viewer that can also export to IESNA format.
# Install trunk (WASM bundler)
cargo install trunk
# Build and serve
cd gldf-rs-wasm
trunk serve
# Open http://127.0.0.1:8080
MIT License