Conway's Game of Life ๐พ
๐ Code Example: Conwayโs Game of Life
๐ References:
Coding Trainโs Cellular Automata Series:
๐ Timestamps:
1:16 Creating a grid of random cell's state (dead or alive)
5:49 Updating the state of the next generation of cells
6:50 Creating a function to sum up the states of neighboring cells
14:31 Wrapping the index value of neighboring cells using modulus %
18:07 Creating a Grid class
21:30 Creating 3 buttons: Play, Reset, and Random
27:02 Using mouseDragged() to bring cells to life!
32:18 Making it rain(bow)
Previous
Color Gradient Animation #2 (lerpColor Function)
Next