A classic cellular automaton simulation
Click cells to toggle them on/off. Press Play to start the simulation.
Rules: Any live cell with fewer than two live neighbors dies (underpopulation). Any live cell with two or three live neighbors survives. Any live cell with more than three live neighbors dies (overpopulation). Any dead cell with exactly three live neighbors becomes a live cell.