HTML5 Canvas Implementation of Conway's Game of Life