Rust Shadertoy. Every shader here is the Rust on the right.

Source is gallery.rs from gpu-shader-lib — ordinary unit-tested Rust (SDFs, FBM noise, palettes), compiled to SPIR-V by rust-gpu, transpiled to WGSL by naga, animated live on your GPU via WebGPU. The exact function shown is also unit-tested on CPU and pixel-gated against this GPU output. benchmark demo · slime mold sim
initializing…
loading source…