Cellular automata



Conway's game of life

Blinker

It flips back and forth forever. Flat, it is the straight tromino.

                ██
██████   -->    ██    -->   ██████
                ██

Some patterns that don't change

████
████
 ██
█  █
 ██
██
█ █
 █
 ██
█  █
 █ █
  █

Rule 90

Every cell looks at its two neighbours. It draws the Sierpinski triangle.

·······█·······
······█·█······
·····█···█·····
····█·█·█·█····
···█·······█···
··█·█·····█·█··
·█···█···█···█·
█·█·█·█·█·█·█·█