Labs · Cellular Automata

Abelian Sandpile

Abelian Sandpile simulation

Drop grains of sand one at a time onto a grid. A cell holding 4 or more grains topples, passing one grain to each of its four neighbours, which may topple in turn: an avalanche. That single rule (Bak, Tang & Wiesenfeld, 1987) was the first model of self-organised criticality.

Pour everything onto the centre and a stunning fractal appears, with the same result whatever order the topplings happen in (that is the "Abelian" part). With random drops, avalanche sizes follow a power law: mostly tiny, occasionally enormous.

Let the centre pile grow for a while and look at the self-similar triangles inside it. Click to drop sand anywhere.

Controls

Evolved from Langton's Ant & Turmites.