December 02, 2026

A 100 by 100 Game of Life grid with green cells forming blinkers, blocks and spreading clusters

John Conway's Game of Life is a grid of cells, each either alive or dead, and four lines of rules. A dead cell with exactly three live neighbours comes to life. A live cell with two or three live neighbours survives. Every other cell dies, of loneliness or overcrowding, or stays dead. That's the whole thing. Out of those rules come gliders that crawl across the grid, oscillators that blink forever, and messy colonies that boil for hundreds of generations before settling down.

Open the 2D Game of Life

How it works

The whole simulation runs on your graphics card. The grid is stored as a texture, and each generation is one shader pass that reads the old grid and writes the new one. The two textures swap roles every step (the "ping-pong" in the subtitle). That's why it can run grids of 100×100, 1,000×1,000 or 10,000×10,000 cells. The last one is a hundred million cells. The edges wrap around, so a glider that sails off the right side comes back in on the left.

Controls

Left-drag paints live cells, and right-drag (or Shift-drag) erases them. Space plays and pauses. The buttons along the bottom step one generation at a time, randomize the grid, clear it, change the grid size, and set the speed. There are counters for live cells and generations.

Try clearing the grid and drawing a small shape: a short line, an L, a little T. Then watch what it turns into. Most shapes die, some settle into still lifes, and every so often one throws off a glider.