Click: drop sand | Right: drop 1000 | Scroll: brush size
// ABELIAN SANDPILE
When a cell has >= threshold grains, it topples: each neighbor gets 1 grain. The patterns that emerge are fractal and self-similar. The "identity" element is the unique configuration that acts as zero under sandpile addition.