Demos
- Falling sand — interactive particle simulation (sand, water, stone) running as a Rust cellular automaton.
- Path tracer — progressive Monte-Carlo rendering with diffuse, metal, and glass materials, refining live at one sample per pixel per frame.
- JS vs WASM benchmark — the same path tracer in JavaScript and Rust→WASM, racing side by side.
Walking skeleton: hello from Rust
The canvas below is rendered by a Rust module compiled to WebAssembly
and loaded with instantiateStreaming.
Loading WASM module…