Self-organized criticality — click to add grains, watch fractal avalanches
Click anywhere on the grid to add grains. When a cell reaches height ≥ 4, it topples — sending one grain to each of its 4 neighbors. Grains falling off the boundary are lost. The resulting patterns are self-similar fractals.