Cells run across. Generations move down.
Toggle an output to rerun with the same initial row.
Read inputs left to right. Each output becomes the middle cell in the next generation.
Click a cell in the initial row, or choose its index below, to flip its state.
An elementary cellular automaton is a row of cells, each either off (0) or on (1). A cell looks at its left neighbor, itself, and its right neighbor. Those three bits select the next state of the middle cell. All updates happen together.
Three binary inputs give eight neighborhoods: 111, 110, 101, 100, 011, 010, 001, and 000. Their outputs, in that order, form an eight-bit binary number. Rule 110 is 01101110. Toggle a neighborhood output to change the rule.
The first row is the initial state, generation 0. Each row below is one synchronous update. Click the chart or move the slider to inspect a generation. The cell inspector reports one cell, and the active-cell count describes the entire selected row.
Generate an experiment, flip an initial cell, or toggle one rule output. Look for changes in the pattern. A seeded random row is reproducible, and saving a JSON experiment preserves its exact initial row.
The old application used Rule 110, 250 cells, 250 displayed rows, an on cell at the far right, and held edges. These are the defaults here, verified from the compiled application. The new app also supports up to 512 cells and 2,000 rows.
Step appends a row after the last computed generation. Rerun restores the experiment's configured row count from its initial row. Reset clears the history to generation 0 while keeping that row count for rerunning. PNG exports include the selected-row highlight; CSV exports contain every computed cell state.
All calculations and file operations happen on your device. Finite patterns illustrate these rules; the app does not infer a formal complexity classification.