AI authored to showcase ironpad capabilities.
An elementary cellular automaton is a 1D line of binary cells that evolves in discrete steps. Each cell's next state depends on its current state and its two neighbors: just three bits, giving 2³ = 8 possible neighborhoods.
Stephen Wolfram numbered each rule by treating the eight output bits as a binary number. Rule 110 (binary 01101110) maps:
| Neighborhood | 111 | 110 | 101 | 100 | 011 | 010 | 001 | 000 |
|---|---|---|---|---|---|---|---|---|
| Output | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 |
In 2004, Matthew Cook proved that Rule 110 is Turing-complete: it can simulate any computation, making it one of the simplest known universal systems.
We start with a single active cell on the right edge and run 150 generations on a 201-cell tape. Each row in the output image represents one generation, producing the characteristic nested triangular pattern.
(output too large to embed; run the cell to regenerate it)
The triangular structures you see are nested, reminiscent of Sierpinski triangles. Rule 110 produces a rich mixture of:
It is precisely these glider interactions that enable Turing completeness: information can be encoded in the gliders, and their collisions can implement logic gates.