Sandpile Model
Sandpile Model
This sandpile model distinguishes the integers between 0 and 7 as states for a Von Neumann neighborhood rule. The number of neighbors having states larger than 3 is added to the middle cell. In case this middle cell is itself in a state larger than 3, the resulting state is reduced by 4. The default simple initialization starts with an array of 4s padded by zeros.