Visualization of the final configuration starting with a 100k pile in the center.
The basic rules are:
- if a pile contains >= 4 grains of sand, move 4 grains to adjacent piles;
- grains can fall off the edge of the table.
Load up index.html into your favorite browser and fiddle away.
https://arxiv.org/pdf/cond-mat/0301481.pdf https://www.youtube.com/watch?v=1MtEUErz7Gg