Select # ants before starting Flag Set slower to see early patterns faster to see final patterns sooner
A few code blocks makes complex behaviors Simple rules: before moving a step if touching white, then color square & turn right, else turn square white & turn left Each ant has its own color Rules by Chris Langton 40 yrs ago (just black & white) Named "Langton's Ant" (1986) I added ants with colors After hundreds of steps, chaotic state ~10,000 steps, repeated 104-step diagonal "highway" (i have it stop if reaches edge)