← All demos

1. Voting Automaton

Next: Game of Life →

World: each row is one tick, time runs down. Click to trace a cell.

Selected cell

The rule

FSM: one cell, every clock tick

Pseudocode, tagged by FSM state