Order Hidden in Chaos

It is easy to predict a few next steps.
But extremely hard to predict patterns down the line.

Langton's Ant

An agent follows simple rules, creating complex highways from random noise.

Cellular Automata

Neighbors determine survival. Complex life emerges from empty space.

The Rules Are Simple

Every cell follows two rules:

  1. Survival: A living cell with 2-3 neighbors survives; otherwise it dies.
  2. Birth: An empty cell with exactly 3 neighbors becomes alive.

That's it. From these two rules, infinite complexity emerges.

Ant Lab

Click cells to paint. Step forward and watch the ant decide.

Life Lab

Toggle cells to seed life. Step forward and watch the rules play out.