Reversible Two-Color Cellular Automaton Rules

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

These are "reversible" two-color cellular-automaton (CA) rule pairs. In each rule pair, both rules are the inverse rule of the other, and each runs any evolution of the other rule exactly in reverse.


In this Demonstration: (1) the CA evolution is run, first for 50 steps, using one rule of the pair; then (2) that rule's inverse rule takes up where the original rule left off, and runs for another 50 steps.

Because these two rules are both reversible, and because each rule is the inverse rule of the other, the evolution runs backwards and we get a mirror image!

The rule is applied to a local neighborhood of width about each cell. Thus, the neighborhood for is a four-cell neighborhood when determining the color of the cell in the next step.

In the , two-color rule set, there are 16 reversible rules, which are the first of each rule pair. However, not all of these 16 rules had inverse rules in the set of rules! The inverses for these sometimes had (five-cell neighborhoods) or (seven-cell neighborhoods) two-color rule sets.


Contributed by: Vallorie J. Peridier (March 2011)
Open content licensed under CC BY-NC-SA



This Demonstration was created during the 2008 New Kind of Science Summer School (NKS|Online) in Burlington, Vermont.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.