Langton's Ant
Turn, flip, move: simple rules, surprising structure.
What is this?
A classic cellular automaton where one ant walks over a grid, flipping cell colors as it moves. It looks disordered at first, then produces a repeating highway.
How it works
On one color the ant turns right, on the other it turns left, then flips the cell and moves forward. That tiny rule set creates phases of symmetry, chaos and eventual regular motion.
Scope and limitations
A deterministic grid automaton. The period-104 highway appears from a blank grid at about step 9,977; it has not been proved to emerge from every finite configuration.
It opens here, in this same tab. Use Back to return.
Open experiment