Skip to main content

▸ tap the pond

Vibe Lab·ANT

One ant, one rule, then a highway

A single pixel ant wakes up in the middle of an empty grid. The rule is one sentence long: on a black tile turn left and paint it white, on a white tile turn right and paint it black, then step forward. For ten thousand steps you'll see nothing but squiggly chaos. Then, with no warning, the ant snaps into a perfectly ordered staircase that drifts off the edge forever. Tap to drop a new ant in a fresh color and watch the highways tangle.

What it does

Each ant remembers its own (x, y, direction). Every step it reads the cell underneath, turns left or right depending on whether the cell is on or off, flips the cell, then walks forward one tile. The grid wraps around the edges so an ant that walks off the right side reappears on the left.

In the real world

Christopher Langton invented this in 1986. It is one of the cleanest demonstrations of emergence: a one-sentence deterministic rule produces a long stretch of chaos and then suddenly a perfectly ordered structure. The same family of rules — turmites, two-state Turing machines on a 2D tape — shows up in computability theory and is universal: you can build a working computer out of Langton ants.

Painted with these colors

Every VibeBoy lab paints with these 16 colors — the same palette PICO-8 made famous. Constraints are what make pixel art feel like pixel art.

13 of 15