← All demos

Cellular automaton · Rust → WASM

Falling Sand

A classic sandbox. Every frame Rust updates a 320×200 grid — sand falls and piles, water flows and sinks, stone holds its shape. The pixel buffer is blitted to the canvas as a single ImageData call. Draw with your mouse or finger.

Loading WASM module…