javascript-game-of-life is an implementation of Conway's Game of Life, created using p5.js to render all the graphics.
Click on any part of the grid to "activate" that cell.
Controls:
- Run: Plays the simulation
- Step: Move the simulation one generation forward [works while paused]
- Clear: Removes all "cells" from the grid, also removes the trail [works while paused]
- Save: Generates an array-like string representing the current state of the grid, the string will appear on the text area [works while paused]
- Load: Attempts to read an array-like string from the text area and loads it into the grid [works while paused]
- Speed: Changes the speed of the simulation
- Grid: Show/Hide the grid lines
- Trail: Show/Hide the trail
- Colors: Changes the color of part of the simulation, from left to right:
- Background
- Grid
- Cells
- Trail
- Random: Populates the grid with a random pattern [works while paused]
- Pattern Select: Loads from a list of classic patterns [works while paused]