gpu_shared::render_pixel — one Rust source file. The CPU button runs it
compiled to wasm32 (this tab's CPU, single thread). The GPU button runs it
compiled by rust-gpu to SPIR-V, transpiled
to WGSL by naga, dispatched via WebGPU. No shader language was written by a human.
Also here: the Physarum slime-mold sim (same stack, up to 1M agents)
and the Rust Shadertoy gallery (live shaders beside their Rust source).
Sibling project: oscilla — a synth whose instrument is Rust source.