# Reversible Two-Color Cellular Automaton Rules

Reversible Two-Color Cellular Automaton Rules

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.

2r+1

r=3/2

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.

r=3/2

r=3/2

r=2

r=3