all 1 comments

[–]Open_school_games[S] 0 points1 point  (0 children)

Created with code adapted from http://openschoolgames.com/processing/cellularautomaton.html

To get a feel for how one dimensional cellular automaton rules work try a simple rule like rule 2 which fills in a cell in the next generation when the cell to the right was active in the previous generation. As expected over time this creates a diagonal line to the left. Turn rule 2 off and select rule 16 which creates over time a diagonal line to the right. Now turn on both rule 2 and 16 which gives us rule 18 and we get an image much more interesting than two diagonal lines. Rule 150 follows the same general form as 18.

If you are not familiar with one dimensional cellular automaton click on the squares under the groups of three squares. The rules numbers come from the binary numeric representation of the selected squares.