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.
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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


This Demonstration was created during the 2008 New Kind of Science Summer School in Burlington, Vermont.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+