By Vladimir DolgopolovGenerative systems2 min read
Simple rules, complicated consequences
A whole pattern can begin with one cell and eight small decisions.
Start with a row of empty cells and turn on the middle one. To produce the next row, each cell looks at three values: its left neighbour, itself, and its right neighbour. A rule decides whether that cell will be on or off.
Repeat that same operation, row after row. The rule never changes, but the pattern quickly gets complicated.
Three neighbours, eight possibilities
Each of the three cells has two possible states. That gives eight neighbourhoods, from 000 to 111. The rule assigns one output bit to each neighbourhood.Eight output bits allow 2⁸ = 256 possible rules, numbered 0 to 255.
Under Rule 30, a cell whose neighbourhood is 001 becomes 1 on the next row, and one with 111 becomes 0. Every cell applies the same lookup.
Why is it called Rule 30?
Write the output bits in the order of neighbourhoods 111, 110, 101, 100, 011, 010, 001, 000. Rule 30 gives 00011110. Interpreted as a binary number, that is thirty.
11101100101010010111010100110000
A different number gives a different table. From a single cell, Rule 90 draws a regular nested triangle and Rule 110 a pattern unlike either. The mechanism is the same.
The beginning matters
Change one starting cell and the effect spreads through later rows. Nothing after the seed is random: the pattern is fully determined, just hard to anticipate from the rule alone.A change can travel at most one cell sideways per row, so its influence stays inside a widening triangle.
Choose Rule 90 with a single starting cell. Add a second cell nearby. Then keep that seed, switch to Rule 30, and compare.
Change the starting pointReference: Rule 30, Wolfram MathWorld. Implementation: the experiment’s source.