/conways-game-of-life

HTML5 / Canvas / Javascript experiment that demonstrates Conway's Game of Life.

Primary LanguageJavaScript

#HTML5 / Canvas / Javascript experiment that demonstrates Conway's Game of Life.

##Directions:

Press 's' to start / pause

Want to see more? Look in the source

##More Information:

There are four rules that each pixel must obey. (Source: Wikipedia)

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by overcrowding.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

View it live on http://www.jastanton.com/experiments/conways-game-of-life.