Conway's Game of Life is one of the most notable forms of cellular automaton, modelled somewhat on population, where a cell changes value dependant on those around it and rules such as:
-
Any live cell with fewer than two live neighbours dies, as if by underpopulation.
-
Any live cell with two or three live neighbours lives on to the next generation.
-
Any live cell with more than three live neighbours dies, as if by overpopulation
-
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction
There are many features which can be added to this project in particular including:
-
Basic CSS Styling on the HTML page where the visualisation is generated -
Recognition of common patterns
-
User input of the starting cell values
-
Colour indication of the rules each cell has recently followed
-
Marking the cells as averages over the number of generations to create a different map
- P5.js