Falling Sand
Simulate loose grains on a 2D cell grid: each frame, move a grain straight down into an empty cell, or diagonally down-left/down-right if straight down is blocked.
What it is
How it works
Parameters & tuning
Where it’s been used
Variants & neighbours
Go deeper
Connected to
Further reading: The Coding Train