a universe in a garden of cells

An interactive explainer · part three

A Universe in a Garden of Cells

Page one watched a row of cells become a universe. Page two bent that row into a spiral and grew it into a sunflower. Both pages obeyed one law so completely that we never thought to say it out loud: the rule, once chosen, is forever. This page breaks that law — first carefully, then recklessly — until a single seed grows a branching garden in which no cell, once laid, is ever changed.

Every diagram on this page is computed live, cell by cell, as you read

A garden of rulesone seed · every head a different rule
This garden is computing. One spiral world grows from the center; partway through, it buds a second world at its rim, which buds a third — each new head running a different one of Wolfram's 256 rules, each growing away from its parent, none of them ever rewriting a cell that already exists. It is being grown right now, one cell at a time, in your browser. By the end of this page you will know exactly how it works.

Part 1 · The unspoken law

Two universes, one hidden constant

The short version of the story so far. Page one: a row of black and white cells, each new generation decided by three parents in the row above, eight possible parent-combinations, so a rule is an answer sheet of eight yes-or-no answers — 256 possible rules in all, some boring, some rhythmic, some endlessly chaotic, and one (Rule 110) provably able to compute anything a computer can. Page two: keep the answer sheets, change the world — wind the row into a spiral, lay cells one at a time from a nine-cell seed, let the lattice grow, and finally build it the way a sunflower does. The lesson there: a rule's personality is a partnership between the rule and the world it runs in.

But through every plate on both pages, one thing never changed: the rule itself. Pick rule, press play, never touch it again. Real worlds are not like that. Laws of growth get amended midstream — a seedling becomes a stem becomes a flower, an economy changes regime, a genome switches which of its programs is running. So this page asks the next question in the series: what happens when the rule changes partway through the run?

Two promises before we start. First, nothing new is added to the rules — every plate on this page uses the same 256 numbered answer sheets from page one, and nothing else. Second, a promise inherited from page two and kept everywhere here, even when things get strange: a cell, once laid, is never rewritten. The past stays put. Only the future is up for negotiation.

Part 2 · The switch

Strata — geology in a diagram

Start in page one's world: a loop of cells, generations stacked downward. Run one rule for fifty-five generations. Then, between one drumbeat and the next, swap the answer sheet — every cell, same instant, new law. Nothing else changes. The old rule's last row simply becomes the new rule's starting condition.

The result reads like a road cut through sedimentary rock: layers of different character, each grown directly out of the one beneath. The thin terracotta line marks the moment the law changed.

Rule 30, then Rule 110one cell · switch at generation 55
Order grows out of the storm. Rule 30 boils for fifty-five generations — then Rule 110 takes over, and its unmistakable texture of repeating backgrounds and traveling structures assembles itself out of Rule 30's chaos, using the storm as raw material. On page one you saw Rule 110 grow from a single cell; here you see something subtler — it can impose its character on any inheritance.
Rule 90 → Rule 30one cell · switch at 55
The lace shatters. Rule 90 weaves its perfect nested triangles — then Rule 30 inherits the weave and boils it away in a few generations. Order is easy to destroy.
Rule 110 → Rule 184random start · switch at 55
Complexity dissolves into traffic. Rule 110's rich texture hits the switch line and Rule 184 — the traffic rule — combs it out into flowing diagonal lanes within a few generations. Remember this pairing; it is about to matter.

Is the switched world just some other single rule in disguise? No — and we can say so precisely. Doing "one step of rule A, then one step of rule B" in a single stroke needs to see five cells, not three, so the combined step is generally not one of the 256 elementary rules at all. And for the plate at the top of this section we checked the direct question by brute force: no single rule among all 256 reproduces that switched history — while the history after the line is continued by exactly one rule, 110. The stratum is real. The rock remembers the law that laid it down.

And of course, nothing stops at two layers. A whole schedule of rules — this one for forty generations, that one for the next forty, a third after that — turns the diagram into a stratigraphic column: a program made of programs.

Three eras: 30 → 90 → 110one cell · switches at 40 and 80
A stratigraphic column. Chaos (30), churn (90), then order (110) — three eras in one world, each era's opening condition written by the era before. Every layer grew; none was drawn.

Part 3 · What a switch can buy

Two rules can do what no one rule can

Pretty layers are one thing. Here is the surprise that makes rule-switching more than scenery: there is a job that no single rule can do, and a pair of rules run in sequence does it perfectly.

The job is called density classification, and it sounds trivial: look at a ring of black and white cells and decide which color is in the majority — end all-black if black outnumbers white, all-white otherwise. A vote, counted by physics instead of a clerk. In 1995, Mark Land and Richard Belew proved that no single automaton of this kind can get it right for every starting ring — some voting pattern always fools it. And in 1997, Henryk Fukś published a two-line loophole: run Rule 184, the traffic rule, for roughly half the run… then switch to Rule 232, the majority rule, for the rest. Together, they classify perfectly.

Watch it work, on two rings with opposite majorities:

184 then 232 · white wins59 black of 139 · switch at 70
The verdict: white. This ring starts with 59 black cells out of 139. Rule 184 combs the votes into traffic; Rule 232 counts them; the world ends all-white. Correct.
184 then 232 · black wins82 black of 139 · switch at 70
The verdict: black. Same two rules, same switch — but this ring starts with 82 black of 139, and the same machine returns the opposite answer. The pair never miscounts.

Why it works is a small mechanical poem. Rule 184 behaves like cars on a road: where black and white are locally mixed, it sorts them into moving streams, and the excess — the surplus votes of the majority — condenses into solid blocks that traffic cannot dissolve. By halfway around the ring, every disguise has been stripped: what remains is majority material, arranged so that Rule 232 — which simply lets each cell side with the local majority of its three parents — can finish the count without ever making a mistake. The first rule prepares; the second rule decides. Neither can do the whole job alone; the theorem says nothing can. The switch is not decoration here. The switch is the algorithm.

Part 4 · Growth rings

Switching rules mid-flower

Now carry the switch into page two's finale: the sunflower lattice, where cells are laid one at a time at the golden angle, each new cell's three parents being the cell laid just before it plus its two nearest older neighbors. There are no generations here to swap between drumbeats — there is only the count of cells laid. So switch on the count: the first four hundred and twenty cells under one rule, every cell after under another.

Because the lattice is laid down in rings, the moment of the switch is not a line but a circle. Inside the dashed ring, one law; outside it, another — with the new rule's parents reaching back across the boundary into the old world, ring by ring, so the outer rule grows out of the inner rule's rim the way each stratum grew from the layer beneath.

Rule 110, then Rule 90one seed cell · switch at cell 420
A flower with two laws. Rule 110 grows its swirling crescent to cell 420 — then Rule 90 takes the rim as its inheritance and speckles outward. The dashed circle is the constitution's amendment date. Botanists would call the layout familiar: a disk with an outer zone running a different program.
Rule 30 → Rule 110one seed cell · switch at 420
Chaos inside, structure outside — the same negotiation as the strata plates, curled into an annulus.
Rule 184 → Rule 110random 9-seed · switch at 420
The flower no switch can save. On this lattice the traffic rule goes extinct within a few windings (page two showed why). Switch to mighty Rule 110 at cell 420 and… nothing. 110 keeps blank cells blank — most interesting rules do — so a dead world stays dead. A law can only govern the living.

The flower that really does switch programs

We called the dashed circle a metaphor, but the metaphor is leaning on something real, and it is worth telling carefully. A sunflower head is built edge-first: the florets at the rim are specified earliest, and construction marches inward — so on a real seed head, radius genuinely is a clock. And the rim runs a different program: a single gene, active only in the outer zone, turns that zone's florets into the showy petal-like ray florets, while the interior grows the tight spiral of fertile disk florets. Botanists have found sunflower varieties where that switch is stuck on everywhere — the whole head grows rays. You have seen the result in a museum: van Gogh's shaggy, double-flowered sunflowers are heads where one zone's law took over the world.

Van Gogh's Sunflowers, 1888both kinds of head, one vase
Van Gogh's Sunflowers: a vase of sunflowers in which some heads are the ordinary kind, a dark seed disk ringed by petals, while others are entirely shaggy globes of petals with almost no disk — the double-flowered form
Look closely: two kinds of sunflower share the vase. Some heads are the ordinary form — a dark disk of tiny florets ringed by petals. Others are shaggy globes of petals with hardly any disk at all: the double-flowered form, which geneticists have traced to that rim-only petal switch running everywhere — and whose most famous portraits, they note, are canvases like this one. Painting: Vincent van Gogh, Sunflowers (1888), National Gallery, London — public domain, via Wikimedia Commons.

To be honest where honesty is due: a real head does not re-run its florets — their identities are fixed early, by position, and our automaton likewise never touches a laid cell. The switching is in what gets built next. Even the timing has a real echo: when a sunflower blooms, it abandons its smooth spiral construction order and switches to a new regime — one crisp ring of florets opening per day, working inward. A program that changes partway through the run is not our invention. We are late to it by about a hundred million years.

Part 5 · The bud

A switch that plants a new origin

Everything so far changed the law but kept the geography: one center, one spiral, forever. Here is the stranger idea this page was really written for. What if the switch doesn't amend the old world's constitution — what if it founds a colony?

The construction: grow the flower normally to the switch cell. Then stop it, and plant a new origin exactly where the next cell would have gone. From that point a second golden-angle spiral begins — new center, new rule, laying its own cells by its own count. Two laws keep the two worlds honest neighbors. First, the inherited promise: no cell, once laid, is ever rewritten — the new world cannot touch the old one. Second, one new law, almost embarrassingly simple: if a spot the new spiral wants is too close to the old world's cells, the new world simply skips it and moves on to its next position. No collision physics, no forces, no negotiation. Skip and continue.

We expected that skipping rule to be a bookkeeping detail. It turned out to be the whole character of the thing.

Rule 30 buds Rule 110switch at cell 520
  • Filled dots are live cells; ink is the parent's world. The parent grows normally to the switch, then stops forever.
  • Faint rings are cells laid dead — still real, still parents to later cells, never revisited.
  • Terracotta is the bud: a second spiral under its own rule, growing from its own origin (the small marked circles). The tint marks who laid the cell — states here are still only on or off.

Look at the shape the bud takes. Nobody told it to lean away from its parent. Its instructions say spiral symmetrically around your own origin — but every position it wants on the parent's side is already claimed, so those are skipped, and every position on the open side is granted. The asymmetry of the world does the steering. We measured it to be sure it wasn't an illusion: across every rule pairing we tried, the bud's center of mass ends up about nine cell-widths away from its own origin, on the side facing open space. Ashley's brief for this page asked for a new origin that "does not overwrite the past, yet is allowed to move away from it." We did not have to build the moving-away. It fell out of the skipping rule, free.

One more discovery, hiding in the seed. Page two found that the flower's center cell is never chosen as anyone's parent, so the live seed must sit in the first ring. The bud repeats the lesson, harder: born against its parent's flank, its innermost positions are skipped or orphaned so thoroughly that a live seed placed there never ignites the pattern at all — the bud grows, but entirely dead. The seed has to go in the outermost of the bud's nine founding cells, out at the frontier where the future can actually see it. In these worlds, influence does not live at the center. It lives at the growing edge.

Rule 110 buds Rule 90fresh seed · bud reads only its own lattice
A clean break. This bud computes only from its own cells — its parents are found among its own lattice, so the two worlds share a border but not a thought. Two universes, one flowerpot.
Rule 110 buds Rule 184inherited seed · parents across both worlds
Kinship made visible. Here the bud's founding cells copy the states of the nearest old cells, and its later cells may take parents from either lattice. Rule 184 — extinct on every empty flower we planted it in — thrives here, feeding on its parent's pattern. The past is shared; only the future differs.

Part 6 · The garden

Buds on buds

If a switch can found one colony, recursion is irresistible: let every head, every few hundred cells, plant a bud at its rim — and let the buds bud. One change of law for this finale, and we should be candid about it: in this system the parent does not stop growing. Every head keeps laying its own spiral, all of them taking turns, all obeying the same skipping rule — so parents flow around their children like wood grain around a knot, and children lean away from parents, and nobody ever rewrites anybody. What comes out is no longer a flower. It is a garden — or, seen from above, something older: lichen on a stone, coral on a reef, a colony.

Parent rule 30, every bud rule 90one seed · two generations of buds
One family, two laws. The ink head runs Rule 30; every child and grandchild runs Rule 90. Ink buds terracotta, terracotta buds sage — and the parent, still growing, wraps around its own descendants. Every dot you see was laid in one strict global order, one cell at a time, and none was ever changed.
All heads Rule 110one law, many worlds
Same rule everywhere — yet no two heads look alike, because each is born into a different squeeze of neighbors. Geometry is destiny.
All heads Rule 30the storm, colonized
Rule 30 as a colony. Page one met it as a triangle, page two as a seed head. Here it is a spreading growth, three tints of the same storm.

Is a budding growth-point a fantasy? It is nearly a definition. Plants grow from meristems — small committees of cells at the tips and edges that build new tissue while everything already built stays put; a branch begins when a bud, parked in reserve, wakes up and becomes a growth center of its own. And in 2021, a team of biologists explained the most famous fractal in the produce aisle this way: in cauliflower — and its spiraled cousin romanesco — meristems that set out to become flowers fail to commit, and each becomes a new spiral-making growth center instead. Their paper's own phrase is the best sentence in this section:

“Meristems fail to form flowers but keep the ‘memory’ of their transient passage in a floral state.”
Azpeitia et al., Science, 2021 — on how cauliflower and romanesco get their form

A program that changes what it is building, a new origin that remembers where it came from, growth that only ever adds — we assembled our garden from an old brief and a skipping rule, and found botany had drafted the same architecture first. Engineers, too: materials scientists have long modeled freezing metal with cellular automata in which new crystal grains switch on at different moments inside a running simulation, each growing until it meets its neighbors. New origins, born mid-run, that never rewrite each other — in a foundry, that is just Tuesday.

Part 7 · What the garden taught us

The rule was never the universe

Page one taught that complexity is cheap: eight answers can fill a world. Page two taught that the rule is only half the universe: the same answers sing differently in different geometries. This page removes the last pillar. Even the rule itself — the one thing we always held fixed — is just another thing that can vary over a world's history. And far from breaking the machinery, varying it adds power: the Fukś pair solves a problem provably beyond any single rule, the strata plates show old patterns becoming raw material for new laws, and the garden grows architecture no single-origin world could reach.

Has science been here? In pieces, yes — and it is worth being precise, because the obvious search terms mislead. What the literature calls a hybrid cellular automaton is usually spatial: different cells assigned different rules, all marching to one clock — a standard trick in circuit design since the 1990s. Changing every cell's rule in time is rarer: Fukś's 1997 pair is the celebrated case; evolutionary-computation groups in the 2000s bred schedules of rules to solve counting problems; and a recent preprint names the general object a temporally non-uniform cellular automaton. Wolfram's own book, as far as we could find, never changes a rule mid-run — his recent physics project does something wilder, running every rule at once along branching histories, which is precisely not this page: here there is one timeline, and the law changes on it, and you can point to the ring in the wood where it happened. What we could not find published anywhere: what a single switch looks like on the classic textures, a rule change on a phyllotactic lattice, or a switch that plants a new origin and grows away. Perhaps we searched badly. Or perhaps this garden really is unphotographed country.

One more thing, quietly. Every world on this page — strata, rings, buds, garden — is append-only. Nothing is ever erased; the switch lines, dead zones, and skipped positions all stay in the record, legible forever, like tree rings, like sediment, like a career. That is not how we usually imagine computation, which overwrites its memory a billion times a second. But it is how the natural world mostly writes. If there is one image to take from this series, let it be the garden's: a universe that never edits — it only ever adds, and the adding is enough.

Part 8 · Your turn

Grow your own garden

All four worlds from this page, and two rules to rewrite at will — by number, or by flipping their eight answers directly. Slide the switch point, choose how a bud is seeded and whose cells it may read, and watch the world get laid down. A question we left mostly unexplored, in case you want somewhere to start: which pairs cooperate, like 184 and 232 — and which merely coexist?

World
The two rules
Edit the answers of
Rule 30 00011110
The switch
The bud
Seed

These eight cells seed the world. Tap to flip.

Run

In the spiral worlds, cells are laid counter-clockwise from the center, one at a time — nothing already laid is ever rewritten.