Self-organized criticality: complexity from simplicity, fractals from falling sand
Add sand one grain at a time. Most additions do nothing. Some cause small avalanches. Rarely, massive cascades sweep across the entire pile! The system naturally tunes itself to a "critical" state where avalanches of all sizes occur—a power law with no characteristic scale. This is self-organized criticality (SOC).
The distribution of avalanche sizes follows a power law: P(s) ~ s^(-τ). This pattern appears everywhere—earthquakes, forest fires, stock market crashes, neural activity. Bak, Tang & Wiesenfeld (1987) proposed SOC as the unifying explanation for why nature is full of scale-free phenomena.
Start with a massive pile at the center (try "Fractal" mode). After all topples settle, a stunning fractal pattern emerges! This "identity configuration" has self-similar structure at all scales. The mathematics involves abelian groups—hence "Abelian" sandpile. Order of operations doesn't matter!
The critical state sits at the edge of chaos—not too ordered, not too random. Information propagates maximally. Some theorize the brain operates here, enabling both stability and rapid adaptation. The sandpile shows how simple rules create this delicate balance spontaneously.