Cells are very basic. They are black or white. Alive or dead. Binary.
The animation below, is a 1 dimensional world of cells. That one dimension is on the horizontal axis. Time is the vertical axis, moving from the top to the bottom.
The way life plays out in this world is absolutely declarative. The second line is derived from the first line, by a series of rules; the third from the second, and so on. There is no free will.
The rules are simple.
- Each "world" (or Automaton) starts with a single dark cell. I position it in the center.
- Each cell’s color, is decided by the 3 cells immediately above it
- The key to each world’s evolution is in the “rule”
Now let’s unpack what that means.
Each cell’s color, is decided by the 3 cells immediately above it, in the shape of a capital T. Those three "parents" form a 3 digit binary sequence. 0 is white and 1 is black. There are 8 possible combinations of white and black values in a string of length 3.
Each world has a "rule" that everything is based on numbering from 0 to 255. This page is setup to start with Rule 90. All numbers from 0 to 255 can be represented by an 8 digit binary sequence. In this case, 90 is represented as 1011010.
So a cell looks at its parents and uses their coloring as a look-up value against the main rule. If your parents are 101, you will select the 5th value from the right on the main rule’s binary value. If it is a 1, the cell is black. Otherwise, it is white.
Here are some links to other resources if you want to dig deeper into the subject.