Topple

A sandpile on a square grid. A cell holding four grains topples and passes one to each neighbour, which may topple in turn; grains that reach the edge fall away. Pour a tower, let it rain, or find the pile that changes nothing.

Click or drag on the grid to drop grains. Keys: Space pauses and resumes, N steps, R restarts.

Scene

Avalanches

Each dropped grain sets off an avalanche: the number of topplings it causes. Once the pile has filled up, sizes follow a power law, a straight line on these axes. Nothing was tuned to make that happen.

View

Keep it