This is my implementation of John Conway's game of life. The rules are
that any living square with two or three neighbors stays alive. Any
non-living square with exactly three neighbors comes to life. Form a
more detailed explanation,
see the Wikipedia article.
Directly below the board are the controls to Play/Pause. Clear will
erase the entire board. You can draw patterns by clicking on squares to
toggle their value. At the bottom of the page are a set of controls to
make a new board with a set size and density of random life.