Source code:

CellularAutomat2D.pde

Built with Processing