mask-generator How to compile mkdir build cd build cmake .. make Examples See example/percolation.py. It simulates bond percolation at p=1/2 (percolation threshold) and generates ten snapshots of percolating clusters for an 8x8 square lattice.