Labs · Cellular Automata
Langton's Ant & Turmites
Instead of every cell updating at once, a single ant walks the grid. It reads the colour under it, turns according to a rule string (R right, L left, N none, U U-turn), advances that cell to the next colour, and steps forward.
The classic rule RL makes chaos for about 10,000 steps, then suddenly builds a repeating diagonal "highway" forever. Longer rule strings (turmites) grow symmetric shapes, triangles and spirals.
Type your own rule like RRLLR and press Enter, or add more ants and watch them interfere.
Controls
- Rule (letters L R N U)
- Ants
- Cell size
- Steps per frame
- First colour
- Last colour
Evolved from Game of Life & Friends.
Evolved into Abelian Sandpile.