Abelian Sandpile Model

Self-Organized Criticality and Fractal Avalanches

Drop Mode
Identity Element
Statistics

The Abelian Sandpile Model

The Abelian Sandpile Model (ASM) is a cellular automaton demonstrating self-organized criticality. Drop grains of sand onto a grid. When a cell reaches 4 or more grains, it topples, distributing one grain to each of its four neighbors (North, South, East, West). Grains falling off the edge disappear. Despite simple rules, the system exhibits complex behavior including power-law distributions of avalanche sizes - a hallmark of criticality.

Key Property: The order in which cells topple doesn't matter (Abelian property). The final configuration depends only on the total number of grains dropped, not the order of operations.

0 grains
1 grain
2 grains
3 grains
Toppling (4+)
0
Total Drops
0
Total Avalanches
0
Last Avalanche Size
0.0
Avg Avalanche Size

The Identity Element

The sandpile model forms a mathematical group under the operation of adding configurations. Every group has an identity element - a configuration that, when added to any other configuration, leaves it unchanged.

To find the identity, we drop an enormous pile of sand at the center and let it stabilize. The resulting pattern is the identity element. It exhibits beautiful fractal-like symmetry and self-similar structure at different scales.

Try it: Click "Generate Identity" to drop 100,000 grains at the center and watch the mesmerizing pattern emerge. The identity is characterized by cells having values 2 and 3 (never 0 or 1 in the bulk), forming intricate geometric patterns.

0
Grains Dropped
0
Total Topples
0%
Progress

Avalanche Statistics and Power Laws

The sandpile model is famous for exhibiting power-law distributions in avalanche sizes. This is a signature of self-organized criticality - the system naturally evolves to a critical state where avalanches of all sizes occur with frequencies following P(s) ~ s.

The distribution plot shows avalanche size (x-axis) vs frequency (y-axis) on a log-log scale. A power law appears as a straight line. The exponent τ ≈ 1.3 for the 2D sandpile model is a universal property, independent of initial conditions or lattice size.

  • Small avalanches: Very frequent, localized toppling
  • Medium avalanches: Less frequent, cascade across multiple cells
  • Large avalanches: Rare, system-spanning cascades
0
Samples Collected
0
Largest Avalanche
-
Power Law Exponent τ