📚 Encyclopedia

Science & Math · updated 2026-10-13

The abelian sandpile and its identity element

sandpilecellular-automatonself-organized-criticalitygroup-theorysimulation

The abelian sandpile (Bak, Tang and Wiesenfeld 1987; group structure by Dhar) is a grid where each cell holds grains; a cell with 4 or more grains topples, sending one grain to each of its four neighbors, and grains that fall off the edge are lost. The final stable board does not depend on the order of topplings (hence "abelian"). Built as "The Shape of Zero" at justinahampton.com/fun/freetime/sandpile/.

The group and its zero

Implementation notes

Self-organized criticality

Dropping one grain at a time on a recurrent board produces avalanches whose sizes follow a power law. A log-log histogram with a fitted slope measured about -1.08 on a 64² board.

See also

Linked from

Sources: justinahampton memory (fun-freetime, The Shape of Zero"), tldr post #1738, 2026-10-09