Cellular Automata: When Simple Rules Create Complexity
How universes emerge from grids and rules
Take a grid of cells. Each cell is either alive or dead. Apply a few simple rules. Watch what happens. From these humble ingredients emerge gliders, spaceships, oscillators, and patterns so complex they verge on lifelike. Welcome to cellular automata — where complexity blooms from simplicity.
The Game of Life
In 1970, mathematician John Conway invented the most famous cellular automaton: The Game of Life.
The rules are absurdly simple. Each cell on an infinite grid is either alive (black) or dead (white). Every generation, each cell looks at its eight neighbors and:
- Survival: A live cell with 2-3 live neighbors stays alive
- Death by isolation: A live cell with <2 live neighbors dies
- Death by overcrowding: A live cell with >3 live neighbors dies
- Birth: A dead cell with exactly 3 live neighbors becomes alive
That’s it. Four rules. No exceptions.
"The Game of Life is not your typical game. There are no players, and no winning or losing. Once set in motion, it plays itself." — John Conway
What Emerges
From these rules, astonishing patterns emerge:
Still lifes: Stable patterns that never change (blocks, beehives, boats)The simplest still life is a 2×2 block of four live cells. Each has three live neighbors, so they all survive forever.
Oscillators: Patterns that cycle through states (blinkers, toads, pulsars)
Spaceships: Patterns that move across the grid (gliders, lightweight spaceships)
Guns: Patterns that periodically emit spaceships
Puffers: Spaceships that leave debris behind
And the complexity doesn’t stop there.
Turing Completeness
Here’s the mind-bending part: The Game of Life is Turing complete.
This means you can build a computer inside Life. People have constructed:
- Logic gates (AND, OR, NOT)
- Memory cells
- Counters and calculators
- A full programmable computer
You could, in theory, run a simulation of Life inside Life. Infinite regress.
A universe with four rules can contain universes with their own rules. Complexity nests within complexity.
One-Dimensional Cellular Automata
Conway’s Life uses a 2D grid, but Stephen Wolfram explored 1D automata — cells in a line, evolving downward row by row.
With simple rules (like “a cell is black if exactly one of {left neighbor, self, right neighbor} was black last step”), you get patterns ranging from:
Class 1: Dies out quickly Class 2: Stable, repetitive patterns Class 3: Chaotic, random-looking noise Class 4: Complex, unpredictable structures with order and chaos
Rule 30 — one of Wolfram's favorites — generates patterns so random they're used in Mathematica's random number generator. Yet it's completely deterministic!
This is emergence: simple deterministic rules producing behavior indistinguishable from randomness.
Why This Matters
Cellular automata aren’t just mathematical curiosities. They teach us about:
Emergence
Emergence is everywhere:
- Consciousness emerges from neurons
- Traffic jams emerge from individual drivers
- Economies emerge from individual transactions
- Life emerges from chemistry
The Game of Life is a pure example. The rules say nothing about gliders or guns. Those patterns emerge from local interactions.
No central controller. No blueprint. Just cells following simple rules, and suddenly there’s complexity.
Computation Is Substrate-Independent
If you can build a computer in Life, what does that say about computation itself?
It’s not about silicon chips or electrical signals. It’s about information processing — states changing according to rules.
Anything that can implement logic can compute. Dominoes. Water. DNA. Cellular automata.People have built computers in Minecraft (which is itself a 3D cellular automaton)!
This suggests computation might be more fundamental than we think. Maybe the universe itself is computational.
Unpredictability from Determinism
Cellular automata are 100% deterministic. Given the starting state, the future is fixed.
Yet for many patterns, the only way to know what happens is to run the simulation. There’s no shortcut.
This is computational irreducibility: some systems can’t be predicted faster than they happen.
Real-World Applications
Cellular automata model:
Physical processes: Crystal growth, fluid dynamics, forest fires, galaxy formation
Biological systems: Tumor growth, epidemic spread, heart arrhythmias, pattern formation in animal coats
Social dynamics: Opinion spreading, traffic flow, crowd behavior, urban development
Computer graphics: Texture generation, terrain creation, particle systems
They’re simple enough to simulate but complex enough to capture interesting behavior.
Langton’s Ant: Order from Chaos
Christopher Langton created a beautifully simple system: an “ant” on a grid following two rules:
- On a white square, turn right, flip the color, move forward
- On a black square, turn left, flip the color, move forward
The ant’s path looks chaotic for ~10,000 steps. Then, suddenly, it builds a “highway” — a repeating pattern that extends indefinitely.
Order from chaos. Highway from randomness. Pattern from rules. All without anyone designing it.
Nobody programmed the highway. It just… emerges.
Building Intuition
To understand cellular automata:
Wolfram’s Controversial Claim
Stephen Wolfram wrote an enormous book (A New Kind of Science) arguing that cellular automata are the key to understanding everything — physics, biology, consciousness.
His claim: the universe might be a cellular automaton. Space and time could be discrete, evolving according to simple rules.
This is… controversial. Many physicists are skeptical. But it’s a provocative idea: what if reality is just a very complex Conway’s Game of Life?
The Philosophical Weight
Cellular automata make you question:
Free will: If the universe is deterministic but unpredictable, are we “free” even if our futures are fixed?
Reductionism: Can you understand a system by knowing its rules, or do you need to simulate it?
Life itself: What separates living from non-living? Gliders “move,” guns “reproduce,” patterns “die.” Are they alive?
Design vs. emergence: How much complexity arises from simple rules rather than intentional design?
Try It Yourself
You don’t need fancy software. You can:
- Play with Life on paper (seriously — get graph paper and try it)
- Use online simulators (search “Conway’s Game of Life simulator”)
- Code your own (it’s ~20 lines of Python)
Start with simple patterns:
- A 3×1 line (becomes a blinker)
- A specific 5-cell pattern (becomes a glider)
- Random noise (produces chaos)
Watch what emerges. It never gets old.
My Takeaway
Cellular automata showed me that emergence is real.
You don’t need complex rules to get complex behavior. You don’t need a designer to get design. You don’t need intelligence to get apparent purpose.
Just simple rules, repeated locally, and suddenly there’s pattern, structure, motion, interaction.
This applies to everything:
- Ant colonies have no central planner, yet build complex nests
- Markets have no controller, yet produce price equilibria
- Brains have no homunculus, yet generate consciousness
- Life had no blueprint, yet evolved intelligence
- Complexity emerges from simplicity
- Local rules create global patterns
- Determinism doesn't mean predictability
- Computation is substrate-independent
- The universe might be running on rules simpler than we imagine
That’s both humbling and awe-inspiring.
Resources: Play with Life at conwaylife.com/wiki. Read Wolfram’s papers at wolframscience.com. Code your own in any language you like — it’s a great learning project!
Get new posts by email
Join the curiosity journey! I'll send you an email whenever I publish something new.