Life-Like Hexagonal Cellular Automata

20 Sep 2016

Tags: python , jupyter

There are two “neighborhoods” often used in cellular automata, the Von Neumann neighborhood of 4 cells and the Moore neighborhood of 8 cells. Conway’s Game of Life uses the Moore neighborhood. One can also used a neighborhood of 6 cells on a skewed grid to implement a hexagonal cellular automata. Hexagonal cellular automata don’t seem to be quite as rich as the Game of Life, but still produce some interesting patterns. One produces a maze of twisty little passages, all alike:

Image of a cellular automata on a hex grid

Here’s a Jupyter Notebook implementing Life-like cellular automata on a hex grid. To use it interactively, download it to your local machine.

Related Posts