All ants run the same random program of 32 instructions, one per step: move forward or back, turn left or right, flip the pixel underneath, or skip ahead depending on whether that pixel is on. Ants that leave the screen are removed. Most programs produce very little. A few produce dense circuits, lattices or foam.

In the original the program was stored in the URL, so a good one could be shared, and a click generated a new one. This version starts a new program at an interval and skips programs that would leave the screen nearly empty.