Your browser does not support the canvas tag.

Cosmos2

Cosmos - by Howie Spielman. Modified from Conway's Game of Life by Mike Davis. The "LIFE" Algorithm: 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. Cosmos adds color based on the age of the point. Click the mouse and new stars are born.

Source code: Cosmos2

Built with Processing and Processing.js