Implementation of the Bak-Tang-Wiesenfeld (BTW) sandpiles model. This was the first discovered dynamical system that showed criticality without the fine tuning of any of its parameters. This property is called self-organized criticality.
This python module allows to create, analyse and visualize lattices following this model.
This modules requires both matplotlib and numpy to be installed.
Period 2 limit cycle in a 20x20 lattice with periodic boundary conditions (script).
Cascade evolution (script):
Cascade size and period (power law) distributions for several lattice sizes (scripts: 1 and 2):
Fractal in a 200x200 lattice created from an initial high square pile in the center with size 2x2 (script).
This project is licensed under the MIT License - see the LICENSE.md file for details