The game of life (live demo)
John Horton Conway, the creator of Game of Life, has just passed away. Upon reading about this I realized I have never implemented Game of Life myself. So on that note, I decided to have a go.
The initial state is the Gosper glider gun, a gun producing gliders indefinitely.
If you tap on the canvas, the state is reset to a randomized chaos (or something else) that will probably be interesting for a while depending on the density, which is also random.