Conway

by Mike Davis. This program is a simple version of Conway's game of Life. A lit point turns off if there are fewer than two or more than three surrounding lit points. An unlit point turns on if there are exactly three lit neighbors. The 'density' parameter determines how much of the board will start out lit.

Original Processing.org Example: Conway