An ant on a blank grid. On a white cell it turns right, on a black cell left; it flips the cell and steps forward. That's the whole program. Watch what it does.
the rule
Each cell has a color. The rule is a string with one letter per color: the ant looks at the color under it, turns left (L) or right (R), moves the cell to the next color, then steps forward. The classic ant is RL: white → turn right, black → turn left. Type any string of L and R (up to 12) to give it more colors.
what happens
For the classic rule, the first few hundred steps make small symmetric patterns, then thousands of steps of apparent mess. Around step 10,000 the ant locks into a 104-step cycle that moves it two cells diagonally every time, building an endless diagonal highway. Nobody has proven that every starting arrangement ends up on a highway, though every one anyone has tried does. LLRR builds a growing symmetric blob instead. Other rules (RLR, LRRL, the longer ones) are there to explore; I have not catalogued what each does.
fine print
The grid wraps at its edges (a torus of 160 × 160), so a highway eventually runs into its own wake; that is what you see at the end, not a property of the ant. The counter shows the real step count. Speed is steps per frame, from 1 up to 2,000.