Cyclic Cellular Automata

Rock–Paper–Scissors spirals emerging from simple local rules

How It Works

Each cell has a state 0…N-1. A cell advances to the next state if at least threshold neighbors already have that next state.

state → state+1 (mod N)
if count(neighbors = state+1) ≥ threshold

With low thresholds, stunning spiral waves emerge — a "rock-paper-scissors" dynamic where each state conquers the next.

States (N)4
Threshold1
Generation0
NeighborhoodMoore
Try N=3 threshold=1 for classic spirals.
N=16 threshold=3 for complex patterns.
Lower threshold → faster, tighter spirals.