The JS-Sandpiles app is a simple JavaScript implementation of the Abelian sandpile model. The app contains a few tiling presets such as Square and Hexagonal grids, Penrose tilings P2 P3, and can extend to arbitrary graph (not yet implemented).
It is running here: https://huacayacauh.github.io/JS-Sandpile/.
See this wiki page for a quick start.
- Clone.
- Open
JS-Sandpile.html
in a browser.
See the wiki attached to this repository.