a universe in a strand of cells

An interactive explainer · part five

A Universe in a Strand of Cells

Page one grew a universe from a row of black and white cells. Page two bent the row into a spiral and grew a sunflower. Page three let the law itself change mid-run. Through all of it, one constant survived untouched: the alphabet — two letters, ink and paper. This page borrows life's own four-letter alphabet, lets the copying make mistakes, and ends in a garden where even the laws are inherited — imperfectly, which turns out to be the interesting way.

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

A garden of inherited lawsfounder rule 110 · every bud flips one bit · accidents seed 7
This garden is inheriting. One spiral world grows from the center under Rule 110. Each bud it plants receives a copy of its parent's rule with one answer flipped — a single bit of the law, changed at birth — and each grows a visibly different texture under its slightly different law. Descent with modification, grown from one seed, nothing ever rewritten. By the end of this page you will know exactly how it works — and what it has to do with the strand of letters inside every living cell.

Part 1 · Four letters

The alphabet was the last constant

The story so far, in one breath. Page one: a row of cells, each cell black or white, each new generation decided by three parents above — eight parent-combinations, so a rule is an answer sheet of eight yes-or-no answers, 256 rules in all. Page two changed the world the rules run in; page three changed the rule mid-run. But every plate on every page kept one thing sacred without ever saying so: every cell was one of exactly two things. Ink or paper. On or off.

Biology got there first, by a few billion years, and made a different choice. The strand of DNA in every living cell is a row of letters from a four-letter alphabet — A, T, G, C — and the letters come paired: across the double helix, A always faces T, and G always faces C. The pairs are not equal in strength. An A–T pair is held by two hydrogen bonds; a G–C pair by three. Chemists bake this into their standard shorthand: G and C are the strong letters, A and T the weak ones. And there is a second, older division: A and G are purines (two-ring molecules), C and T pyrimidines (one-ring).

Two independent two-way splits of four letters. Stop and look at that, because it is the door this whole page walks through: a DNA letter is exactly two bits. One bit says purine or not; one bit says strong or not. Answer both questions and you have named the letter. Writing each base as two bits this way is a published convention — Nemzer set it out in 2017 and showed that the mutations we will meet later come out as bit operations — so we are borrowing, not inventing. (There is even a third classic split, amino versus keto — and it is the exclusive-or of the other two. The chemistry hands you a tidy little algebra and refuses to explain why.)

Which means our two-letter universes were never the wrong size. They were half the right size. A four-letter cell is a pair of page-one cells — and everything this series has built suddenly applies twice over.

How this page draws four letters

  • Every cell is split into two half-cells. The left half is the purine bit, the right half the strong bit. Ink means yes.
  • The four letters are the four ways to fill a pair of halves. T is blank paper, G is solid ink, A and C are the two single-half letters.
  • No new colors. The series promise — the automata stay in grayscale — survives the bigger alphabet intact. A four-letter world is drawn in nothing but ink and paper.

Two honest flags before we build anything. First: there is a research field called DNA computing that builds actual computing machines out of actual DNA molecules. This page is not that. Here the DNA is the metaphor, not the machine. Second: using the four bases as the four states of a cellular automaton is itself not new — Sirakoulis and colleagues did it in 2003, treating A, C, T and G as digits of a base-4 number. What we could not find published anywhere is what happens next: the two-bit anatomy and the automata, joined.

Part 2 · A base pair of universes

Two rules on two bit-planes

Here is the construction, and it is smaller than it sounds. Take a row of four-letter cells. Since each letter is two bits, the row is secretly two rows of page-one cells riding in the same paper: a purine plane (all the left halves) and a strong plane (all the right halves). Now give each plane its own elementary rule — one of the ordinary 256 for the purine bit, one for the strong bit. No new machinery, no bigger answer sheets. A four-letter universe, built from two 8-entry answer sheets.

Why not just invent rules for four letters directly? Because of the arithmetic. A four-letter rule must answer for every combination of three four-letter parents — a 64-entry answer sheet, and 464 ≈ 3.4 × 1038 possible rules. The 256 you could meet personally; that number you could not meet a meaningful fraction of if you enumerated for the age of the universe. (Wolfram hits the same wall with three colors and tames it by restricting to totalistic rules, which only count their parents' total — that cuts three-color rules from 327 down to 2,187. As far as we could find, his book never features a four-color version at all.) The two-plane construction is a different kind of taming: it keeps every rule browsable, and it earns the name this page wanted anyway — a base pair of universes.

If the two planes never speak, you get exactly that: two transparent worlds overlaid, each obeying its own law, sharing paper and nothing else. The interesting move is coupling them — let one bit's rule read one of its three parents from the other plane. Then the purine bit feels the strong bit and the letters become a genuine four-letter dance:

Purine rule 30 ⋈ strong rule 90coupled · grown from one G
Four letters from one G. Rule 30 runs the purine halves, Rule 90 the strong halves — but each reads its middle parent from the other plane, so neither can be understood alone. The scaffold is Rule 90's nested lace; the letters filling it churn through all four values. Read any single cell: its left and right halves are being written by different laws, watching each other.
30 ∥ 90 — uncoupledindependent planes · one G
Two ghosts in one paper. Uncoupled, the left halves grow Rule 30's storm and the right halves Rule 90's lace — two page-one universes in perfect mutual ignorance. Cover one eye and you can read either alone.
110 ⋈ 110 — the collapsecoupled · one G
The diagonal is a trap. Same rule on both planes, and a seed whose two bits agree — so the planes agree at the next step, and the next, forever. Only G and T ever appear, and the world is plain Rule 110 wearing a wider costume. We checked: the two planes stay bit-for-bit identical every generation. Four letters offered, two used.

And a subtler discovery, found by planting the wrong seed on purpose. Seed the world with a single A — purine bit lit, strong bit dark — and whether the strong plane ever wakes up depends not on the coupling but on the rule sitting there. Couple Rule 90 into a dark plane and nothing happens, forever: 90 answers "white" to both of the only questions the dark plane ever asks it. Couple Rule 30 in its place and the plane ignites on the very first step:

Purine 30 ⋈ strong 90 · one Athe strong plane never wakes
Half an alphabet. Rule 30 storms through the purine halves; Rule 90, offered a dark plane, keeps it dark forever. Every cell is A or T. No amount of running will ever produce a G or a C.
Purine 90 ⋈ strong 30 · one Asame laws, planes swapped
Same two laws, swapped — ignition. Now Rule 30 holds the strong plane, and 30 answers "black" to a lone lit neighbor. One generation in, the dark plane is alive; all four letters appear. Which half of the alphabet exists is decided by one entry in one answer sheet.

The lesson of the whole section, compressed: on page two we learned a rule's personality is a partnership between the rule and its geometry. Here the partnership acquires a third member. A rule's reach — which letters can even exist — is a fact about the rule table, not about the wiring. The alphabet is not a given. It is an achievement.

Part 3 · The photocopier

One of the 256 is a copying machine

Before this page can talk about mutations, it needs a world where copying is the whole law. It turns out we have had one all along. Ask: is there an elementary rule whose answer, for every one of the eight parent-combinations, is simply "whatever the middle parent was"? Check all 256, and exactly one survives: Rule 204, the photocopier. Every generation is a perfect copy of the one before. On page one it would have been the most boring plate imaginable — vertical stripes, forever. It took three pages of context for 204 to become interesting, because 204 is not a picture. It is a promise: nothing will change. It is also the rule DNA cares about, because a dividing cell is, before it is anything else, a photocopier of its strand.

And real copying makes mistakes. Run the photocopier on a four-letter strand — the same rule on both bit-planes — and let each copy occasionally miswrite a letter. To keep faith with the series' promise that everything here is reproducible, our accidents are seeded: the errors fall where a fixed random sequence says they fall, so every replay of this plate makes exactly the same mistakes. Even our accidents are reproducible.

Rule 204 on both planes · copying errorsthe strand spells GATTACA, over and over · accidents seed 5
Every error is forever. The strand spells GATTACA over and over, so an unmutated world would be perfect vertical stripes. Each mis-copied letter breaks its stripe — and the break runs to the bottom of the page, because the photocopier propagates whatever it is given, mistakes included. Nothing spreads; nothing heals. Under pure copying, an error is a scar with perfect memory. (Even the word is borrowed: the 1997 film Gattaca built its title from these same four letters — one of the few words DNA's alphabet can spell — and this page happily reuses the trick.)

How bad is real copying? The enzyme that copies your DNA, left alone, writes a wrong letter roughly once every 10,000 to 100,000 letters. That sounds impressive until you multiply: a human genome is about three billion letters — an unassisted copy would carry tens of thousands of new errors, every cell division. The actual measured rate, in the finished product, is about one error per 108 to 1010 letters — roughly a hundred-thousand-fold better than the enzyme alone. That factor is not chemistry getting lucky. It is machinery: a proofreading step that catches most errors as they are written, and a second inspection that patrols behind the copying fork. We will meet both in Part 5 — but first, we owe the errors themselves a fair portrait. What exactly does one mistake cost?

Part 4 · The cone of consequence

What one changed cell costs

Here is the experiment this whole page has been circling. Run two copies of the same world side by side, in perfect lockstep, from the same seed — then reach into one of them, once, and flip a single cell as it is copied. From that moment on, paint every cell where the two worlds disagree. The result is called a difference pattern, and drawing it is a fine old tradition, not our invention: Wolfram draws exactly this picture in his book to tell his four classes of rules apart, physicists have studied it since the 1980s under the name damage spreading, and the widening wedge of disagreement has a name of its own — the defect cone.

Rule 204 · rare errorsdifference view · accidents seed 11
The photocopier: streaks. Each flip (small ring) becomes a one-cell-wide terracotta streak running to the bottom of time. Permanent — but perfectly contained. The mistake never recruits its neighbors.
Rule 30 · one flipdifference view · flipped at generation 29
Rule 30: the cone. One flipped cell, and the disagreement grows sideways every generation, boiling outward until the two worlds share almost nothing. Same size of mistake as a streak — utterly different price.

The pair of plates above is the page's central contrast, so let it be said plainly: a mutation has no cost of its own. Its cost is set by the law it lands in. Under the photocopier, an error is a scar — permanent, local, legible. Under Rule 30, the same error is an avalanche. The damage-spreading literature sorts every rule by exactly this behavior: in Wolfram's classes 1 and 2 the cone stays shut, in class 3 it opens at full width, and in class 4 it flickers between the two. And the fine print holds a mercy worth quoting: Wolfram's own notes record that in some rules a flipped cell, landing among the wrong neighbors, changes nothing at all after a step. Not every mutation matters. Some land silently.

Rule 90 · one flipdifference view · flipped at generation 29
Rule 90's cone is a portrait of Rule 90. Flip one cell in any Rule-90 world — this background is a random churn — and the difference pattern is always the same perfect nested triangle: the pattern 90 grows from a single cell on empty paper. This is because 90 is additive — changes pass through each other without interacting, so a mutation's cone ignores the world it lands in. We checked all 256 rules: exactly eight are additive this way (0, 60, 90, 102, 150, 170, 204 — the photocopier is one of them — and 240). For those eight, and only those, a mutation's consequence is knowable in advance. For the other 248, the cost depends on where it lands.

Mutations with a chemistry

Now bring the four-letter alphabet back, because biology does not flip abstract bits — it swaps letters, and the swaps have kinds. A transition swaps within a chemical family: A↔G (purine to purine), or C↔T (pyrimidine to pyrimidine). A transversion crosses the family line. Count the possibilities and transversions should dominate — every letter has two transversion partners and only one transition partner. Measure real genomes and the opposite holds: in human de novo mutations, transitions outnumber transversions about two to one. (The best-understood reason is a chemical booby trap: one commonly modified form of the letter C, when it degrades, turns directly into a T — a transition the repair machinery is poorly placed to notice.)

Here is where the two-bit anatomy pays for itself. Look at what the mutation kinds do to the bits: a transition flips only the strong bit. A↔G and C↔T are exactly the swaps that keep the purine half and toggle the strong half. A transversion is any swap that flips the purine bit. The biology and the bit-planes agree perfectly — which means on an uncoupled pair of universes, a transition is invisible to an entire plane:

Transitions only · uncoupled planespurine 30 ∥ strong 90 · difference view · accidents seed 19
One universe never finds out. Every mutation here is a transition — a strong-bit flip — and the planes are uncoupled, so every terracotta disagreement lives in the right half of its cell. The left halves of the two worlds agree exactly, everywhere, forever. A reader who could see only the purine plane would swear no mutation had ever happened. Couple the planes, and this privacy vanishes — the cone bleeds across within a generation or two.

Part 5 · The other strand knows

Mismatch, and the machinery of repair

Part 3 promised an explanation for that hundred-thousand-fold improvement, and the explanation begins with the double helix's deepest trick. DNA is not one strand — it is two, and each strand determines the other completely: A across from T, G across from C. In our two-bit language, complementation is a one-bit operation, and it is not the bit you might guess. Pairing always sets a purine across from a pyrimidine, so the complement flips the purine bit — but an A–T pair is weak on both sides and a G–C pair strong on both sides, so the strong bit is shared. Strength belongs to the pair, not the letter. That is the whole reason the ladder's rungs hold.

This redundancy sounds wasteful — the second strand adds no information — until the first mistake happens. The classic 1958 experiment of Meselson and Stahl showed that when the helix is copied, it splits, and each old strand templates a fresh new partner. So every copying error is born into a very particular situation: a brand-new letter, sitting across from an old letter it fails to pair with. That failure has a name — a mismatch — and it is physically detectable, a lump in the ladder. An error under pure copying (Part 3) was invisible; an error in a paired strand announces itself. And announced errors can be caught. Proofreading catches most as they are written; a second system, mismatch repair, patrols afterward and — crucially — fixes the mismatch by trusting the old strand and rewriting the new one. The template wins.

No repairerror rate high · accidents seed 5
The message decays. Big cells now: each band is one generation of the strand, with its freshly built partner in gray glyphs beneath. Terracotta outlines are mismatches — places the pair no longer rhymes; underlines mark letters that have permanently drifted from the original text. Unrepaired, a mismatch becomes a full mutation at the next copying: the wrong letter gets to be a template.
Proofreading + mismatch repairsame errors, same seed 5
Same accidents, different machinery. The identical seeded errors strike this ladder — but proofreading catches nine in ten as they land, and mismatch repair consults the old strand for most of the rest. The text reaches the bottom essentially intact. The improvement you are looking at is the cartoon version of that real hundred-thousand-fold factor.

Notice what repair cannot do. It cannot restore a letter both strands have lost — once a mutation survives a round of copying, the wrong letter is the template, the pair rhymes again, and the mismatch machinery sees nothing to fix. Repair is not memory. It is a brief window of second chances, held open by redundancy, and it closes at the next division. We looked for prior art here and report the negative honestly: we could find no published cellular automaton that runs two strands with complementary pairing and a repair step between them. If it exists, it is well hidden.

Part 6 · When the law itself mutates

One bit of the answer sheet

Everything so far mutated the material — a letter here, a letter there, the law serenely constant. But this series has already broken that symmetry once: page three swapped whole rule tables mid-run, planned and purposeful, like an amendment. A mutation is the unplanned version. And the smallest possible mutation of a law is precise: an elementary rule is eight yes-or-no answers, so flip one answer. Rule 110 and Rule 111 differ by a single bit. What happens to a world whose law drifts, one seeded random bit at a time, while it runs?

Law drift, with a reversionstart rule 110 · 3 flips · accidents seed 21
110 → 102 → 110 → 238. Each terracotta tick in the margin marks one flipped answer. Read the history: the first flip (generation 34) turns 110 into 102; the second flip, fourteen generations later, is the same bit flipping back — the law returns to 110, none the wiser. Geneticists have a word for a mutation that undoes a mutation: a reversion. Then the third flip lands somewhere load-bearing, and Rule 238 sweeps most of the world solid black. Three equal coin-flips: one a change of texture, one self-canceling, one an avalanche.
The relicstart rule 110 · 3 flips · accidents seed 22
Extinction, with one survivor. A different seed deals a crueler hand: two flips land almost together (generations 29 and 30 — the law lurches 110 → 108 → 104), and the texture dies within a few generations — except one two-cell column whose tiny solid block happens to sustain itself under the drifted law, running on alone to the bottom of time. A third flip at generation 66 lands silently. A world can end and leave a relic.
The classifier, mutated184 → 232 · one flipped cell at generation 55
The perfect counter, deadlocked by one flip. Page three's triumph — Rule 184 then Rule 232, the pair that classifies any majority perfectly — rerun with a single mis-copied cell injected mid-run. This ring is 59 black of 139; the verdict should be all-white, and without the flip it is. With it, the count freezes: 51 black, forever. Not the wrong answer — no answer. Physicists confirmed the fragility properly in 2011: under noise, the Fukś pair classifies reliably "only up to very small levels" of it. Perfection, it turns out, was load-bearing.

Is a mutating law just a metaphor? Wolfram himself makes the connection in his book, and it is worth quoting, because it is the bridge between this page's two halves:

“In a biological organism there is genetic material which can be thought of quite directly as providing a program for the development of the organism.”
Stephen Wolfram, A New Kind of Science (2002), p. 383

In the pages that follow, he explores exactly our move — programs subjected to random mutations — but with one structural difference: his picture is a sequence of programs, each one a mutation of the one before, each run from the start. The change happens between runs, not inside one. We could find no place in the book where a rule is changed partway through a single run. He did come back to something adjacent a year later — a 2003 note on "cellular automata with global control," where two rules alternate according to whether the world's total count of black cells is even or odd. That is a law that switches every step by a rule of its own; a world that runs cleanly and is interrupted once, at random, seems to be a picture he never drew. It is the picture this page cares about, because it is the biological one: the genome your cells copy today is not re-run from the start. The mutation lands midstream, and everything downstream inherits it.

Part 7 · The garden of descent

Every bud inherits, imperfectly

Now assemble the finale from parts this series already owns. Page three built the recursive garden: spiral worlds that bud new spiral worlds, every head growing by the golden angle, nothing ever rewritten, children leaning away from parents by pure skipping. It had one aristocratic assumption left: the rules were assigned — by us, from outside. Replace assignment with inheritance. When a head plants a bud, the bud receives its parent's rule — copied with, sometimes, one flipped bit. The mutation of Part 6, made heritable. The copying errors of Part 3, applied to the law itself.

Founder rule 30every bud flips one bit · accidents seed 7
A family tree you can read from texture. The ink founder runs Rule 30. Its terracotta children run 30-with-one-flipped-bit — this run deals them Rule 28, then Rule 158, then Rule 158 again: the same bit happening to flip twice, independently — and the sage grandchildren carry second-generation flips of those (12, 156, 150, 159…). No two heads quite share a law, and almost none share a texture. Regrow this plate in the playground with accident seed 7 and it prints its full lineage beneath the canvas; every lineage in these captions was checked against the same seeded run it describes.
Founder rule 204the photocopier's descendants · accidents seed 7
The dead law's living descendants. Founder: Rule 204, the photocopier — which, fed a nearly blank seed, mostly copies blankness forever, and grows an almost entirely dead disk. But every bud's law is 204 with one answer changed: this run deals the children Rule 206, which answers "black" in one situation where the photocopier said nothing, and Rule 76, which forgets one of the photocopier's "black"s. Texture, from the smallest possible change of law. A perfectly conservative rule is one flipped bit from an inventive one.
Founder rule 110a different roll of accidents · seed 12
Same founder, different accidents. Reroll the seeded accidents and the same founder begets a different family — different bits flip, different laws bloom. History run twice does not rhyme. (Replay both plates and each reproduces itself exactly: the accidents are seeded. The seeds differ.)

Say what this object is, carefully. Each head's rule came from its parent's rule by copying, with occasional one-bit error. Lineages accumulate their private histories of flips; cousins diverge; the family of laws has a family tree, and the tree is drawn in space, because children grow away from parents by the skipping rule. There is an old and honorable name for descent, with variation, down a branching tree — and one thing must be said as carefully as the rest: nothing here is evolution in the full sense, because nothing is selected. No head competes, none dies for its law, no mutation is rewarded. This garden is what Wolfram's biology chapter argues so much of the living world's raw diversity is: strings of random mutations that happened not to be fatal, accumulating. Variation without a judge. The judge is a different page's problem.

And notice — quietly, because the series has been building this image for three pages — that the garden keeps every promise ever made on these pages at once. Nothing rewritten: the append-only law, from page two. The law can change: from page three. The change is copied imperfectly down generations: this page. A single seed, one strict global order of cell-laying, no erasures, and out of it: a phylogeny. The adding is still enough.

Part 8 · What the strand taught us

The error was never the enemy

Page one: complexity is cheap — eight answers can fill a world. Page two: the rule is half the universe; geometry is the other half. Page three: even the law can change, and changing it buys power. This page's lesson completes the set, and it is the one biology has been shouting all along. A universe that copies perfectly is inert — the photocopier's stripes, the collapsed diagonal, the founder disk of dead 204. Everything on this page that grew, surprised, diverged, or invented did so downstream of an error: a flipped letter's cone, a bud's misinherited law, a relic column surviving its world. The machinery of life is not built to prevent copying errors absolutely — at its measured error rates it could go a million generations without one, and nothing would ever have changed. It is built to make errors rare, detectable, and survivable. Which is a different engineering goal entirely.

Where does this page sit in the literature? We report what we found, and what we did not. The four-letter alphabet as CA states: published, 2003, Sirakoulis and colleagues, who treat the bases as digits of a base-4 number. The two-bit anatomy of the bases, with mutations as bit operations: published, 2017, Nemzer. The difference cone: Wolfram's own book, and a whole damage-spreading literature since the 1980s. Automata that stay reliable under constant noise: a celebrated and genuinely heavyweight corner of mathematics — Gács proved a one-dimensional automaton can remember a bit forever even when every cell errs at every step, a result that took him some two hundred pages; Toom's lopsided majority rule does it in two dimensions with three votes. (Our rare, seeded, one-at-a-time accidents are a much gentler regime than that literature's everywhere-noise — a distinction worth keeping.) What we could not find published anywhere: the two-bit decomposition joined to CA dynamics as coupled bit-planes; a two-strand automaton with pairing and a repair step; laws inherited with mutation by budding growth centers. Perhaps we searched badly. Perhaps this strand, too, is unphotographed country.

One last honest signpost, for readers who know some biology and have been waiting for it: there is another famous table in the living cell — sixty-four three-letter words mapping to twenty amino acids and three stops. That table belongs to translation, the reading of genes into proteins, and this page has deliberately never touched it: everything here is about copying, the other machine. Different machine, same four letters. It would make a fine page of its own.

Part 9 · Your turn

Grow your own strand

All five worlds from this page. Two rules to rewrite at will — by number, or by flipping their answers directly — a coupling to choose, mutation kinds to aim, repair machinery to switch on and off, and a garden that inherits whatever law you give it. The accidents are seeded: keep the seed and every run reproduces exactly; reroll it and history runs again, differently. A question we left open, in case you want somewhere to start: which rules make the best ancestors — the founders whose mutated descendants stay interesting longest?

World
The two rules
Edit the answers of
Rule 30 00011110
Coupling
Alphabet
The mutations
The machinery
The drift
Inheritance
The accidents same seed, same accidents — every run is reproducible
Seed

These eight cells seed the world. Tap to flip.

Run