pebble-game-algorithm read example.py for details #requirements cython: pip install cython #reference Jacobs, D. J. and M. F. Thorpe (1995). "Generic Rigidity Percolation - the Pebble Game." Physical Review Letters 75(22)