Interactive simulations & visualizations

Visualizing the beauty in physics and mathematics


Project maintained by zhendrikse Hosted on GitHub Pages — Theme by mattgraham

Conwayโ€™s game of life ๐ŸŽฎ


Conway's Game of Life illustrates the same principle as the Mandelbrot set, namely that complex structures can emerge from an astonishingly small and simple set of rules.

Game of Life โ€“ 2D cellular automaton


This visualization shows Conwayโ€™s Game of Life, a simple mathematical model where complex behavior emerges from very simple rules.

The space is divided into a grid of cells. Each cell is either:


Rules of the game

At each time step, every cell updates simultaneously based on its eight neighbors:

  1. A living cell survives if it has 2 or 3 living neighbors
  2. A dead cell becomes alive if it has exactly 3 living neighbors
  3. All other cells die or remain dead

These rules can be written as:

\[\text{alive}_{t+1}(x,y) \begin{cases} 1 & \text{if } n=3 \\ 1 & \text{if } n=2 \text{ and alive}_t=1 \\ 0 & \text{otherwise} \end{cases}\]

What you observe

No randomness is added after the start โ€” all complexity emerges from the rules alone.


Why this matters

The Game of Life is a classic example of:

It appears in physics, biology, computer science, and artificial life research.


Share on: