Skip to content

p0rtL6/abelian-sandpile-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abelian Sandpile Model - A cellular automaton

This model is made up of a grid of square tiles in which each tile can hold 0-3 "grains" of sand.

When a tile reaches 4 grains, it topples, distributing itself out to its four neighbors (up, down, left, right).

Eventually the model will settle, reaching a point where no more tiles will topple, this is the finally produced image.

Animated pile where a grain of sand is dropped onto the center tile repeatedly

Animated Pile

A pile containing 2 million grains

piles-2000000