8-BIT CELLULAR AUTOMATA

This small () 8B-CA generator is based on work presented by Stephen Wolfram in his book A New Kind of Science. It demonstrates the ability of certain simple systems to manifest great complexity. For instance RULE 30 creates areas of texture that do not repeat and cannot be predicted ahead of the execution of the rule. Wolfram argues that this behavior is the essence of randomness. (This is similar to claiming that the distribution of prime numbers is random although numbers themselves do not spontaneously change between prime and composite.)

Each RULE consists of 8 outcomes, one for each of the 8 possible states of 3 consecutive ON/OFF cells. The 8 outcomes of a rule are either ON (1) or OFF (0), yielding an 8 digit binary number (8 bits) and 256 possible rules (0 to 255 inclusive). For the execution of a rule each cell's immediate predecessor and predecessor's neighbors are examined (3 consecutive cells). The rule dictates what the outcome will be for each of the 8 possible states of 3 consecutive cells. This is applied to each cell, row by row.

See more projects at stewd.io.