Langton's Ant

Turmites on a binary grid: step, run, or pause; track steps and flipped cells.

About this tool

Langton's ant on a binary grid: on a white cell the ant turns right, flips the cell, and steps forward; on black it turns left, flips, and steps forward. Simple local rules produce complex highways after an initial chaotic phase.

Click the grid to place the ant; use Step, Run, or Reset. Stats track total steps and cells flipped. Torus mode wraps edges.