Cellular Automata: Problems 10.1, 10.2
HPP rules, first with empty world, filled square, then with randomly half-filled world, filled square. I coded this with numpy array operations in this script, using pygame for visualization.
FHP rules, first with empty world, filled square, then with randomly half-filled world, filled square. I coded this with this cython and this python.
I realized afterwards I should have used periodic boundary conditions to avoid all the tokens running away. I was stretched on time this week, so I didn't get a chance to make the change.