fun.sys / free time

ROCK, PAPER, SCISSORS, FOREVER

Every square is in one of N states, and each state is beaten by exactly one other: 0 loses to 1, 1 loses to 2 … and the last loses to 0, a circle. A square flips to the next state when enough neighbors already hold it. Start from pure noise and wait.
■ spiral cores over time (a core is a point where all states meet)

Rules: a cell in state s becomes s+1 (mod N) if at least T of its neighbors are already in state s+1; otherwise it stays. Noise first coarsens into blobs, then the blobs' edges chase each other around closed loops, and each loop is a spiral core — found by walking around every 2×2 corner of the board and adding up the state differences; a nonzero total (a “winding”) means all N states meet at that point. Cores come as spinning-clockwise and counter-clockwise, and on a wrapped board the two kinds must be equally many — the page checks this every frame (the “balance” reads 0). With 8 states, T=2 grows spirals; T=3 freezes the noise in place; T=1 makes every square flip every step. Try 3 states with T=3 for the classic version, and watch how N and T trade off. Click to stir; shift-click or the button drops a pinwheel (every state arranged around a point), which can seed a spiral of its own. This family of rules is the Greenberg–Hastings / Griffeath cyclic automaton, and the same spiral-from-chaos story runs through the Belousov–Zhabotinsky reaction and beating heart tissue. The speed, N and T settings are my picks.