Technology
Independent developer releases pngine for declarative WebGPU workflows
The open-source tool uses S-expressions to configure graphics pipelines and can package runtimes directly inside preview PNG files.
The short version
- An independent developer launched pngine, a declarative format and runtime for WebGPU built using S-expressions.
- The tool validates graphics configurations without an active WebGPU context and runs across web, desktop, and mobile environments.
- Developers can distribute configurations inside standalone HTML, ZIP, or PNG files containing embedded bytecode.
- The project has been made publicly available under a public domain dedication.
Key facts
- The developer created pngine over a period of 2.5 years to provide a declarative format and runtime for WebGPU using S-expressions.[Hacker News]
- The framework validates WebGPU setups using WGSL reflection and specification checks without needing an active WebGPU context.[Hacker News]
- Outputs can be packaged into single HTML, ZIP, or PNG files, with PNGs storing runtime bytecode in custom metadata chunks alongside a visual preview.[Hacker News]
- The tool supports multiple platforms, including web browsers, Rust's wgpu library, Android, and iOS.[Hacker News]
- The source code has been released under a CC0 public domain dedication across GitHub and a self-hosted repository.[Hacker News]
Sources
- Declarative WebGPU with S-ExpressionsHacker News