Skip to content

crellison/Sandpile-Matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sandpile Visualization

Preface

This project houses a variety of visualizations of Sandpile Theory.

Sandpile theory is best explained with the aid of a matrix. Each cell can hold a pile of grains, but if the pile height reaches or exceeds four, the pile becomes unsteady and casts one grain in each of the four cardinal directions. These sandpiles are abelian in nature, so stabilization transversals can be implemented in any order, so long as each cell is visited. This theory is related to graph theory and presents opportunity for fractal models and dynamic system research. You can find more information and images of fractal patterns generation from the model in this article from Nautilus. For more on the underlying mathematics, the Wikipedia page is an excellent source.

The Projects

  1. python
  2. javascript
  3. java

Example output from JavaScript Project

Sandpile Example

About

various visualizations of sandpile theory across different languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published