
Falling Sand
Press and hold to pour sand that piles up and slides down the slopes; switch to water that spreads flat or stone that holds still, and the sand changes color as you pour so it builds up in stripes.
Built with
How it was made
Written with Claude Code as a single web page with no libraries; the sandbox is a grid of about 36,000 cells swept from the bottom up every frame, where sand falls or slides diagonally and water also spreads sideways, and each row is scanned from a random side so piles never lean one way.