This Game of Life simulation starts from a random initial grid.
Clicking the individual cells toggles them on and off.
Clicking the "start" button starts the simulation.
Clicking the "stop" button pauses the simulation.
Source is modified for rectangular canvas.