Conway’s Game of Life is a classic. Invented by John Conway in 1970, the “zero player game” is a wonderful example of emergent behavior. Although each cell follows the same simple rules, wonderful patterns emerge. As time went on, the Game was shown to be Turing Complete, meaning any program could be represented as an initial state to Conway’s Game of Life given a large enough grid. That’s incredible!
Read more about Conway's Game of Life on Medium or Get the code on Github.
If you want to see more of my projects, visit Teb's Lab.
A simple, single instance of Conways game. Click and drag to add life.
A grid of Conway's with tools to configure and customize the rules of the game, and the display colors. You can also use "rule box mode" to add internal simulations; areas of the grid that follow their own rules.
The infinite sequence that started it all, in a satisfying rainbow color scheme.
The bottom quarter of this simulation is a little less survivable than the rest, which is regular Conway's. A single horizontal bar of life is drawn somewhere in that harsh environment, the result is a mesmerizing visualization that is a little different every time, and on every sceen size.
An experiment with many kinds of rules, building on top of the Rainbow simulation. Can you identify each of the zones and their rules?
With a randomized color scheme, this simulation draws 6 boxes of regular Conway's inside of an area with a kind of highly resilient life. The result reminds me of vines slowly engulfing a building with windows.
With an "Ivy Box" in the middle of the sceen, this simulation randomly spawns a bunch of "gliders". Eventually, one crashes into the "ivy box" which will then fill with life.
Two kinds of life (both small modifications of the Creeping Ivy) with different color schemes arranged in a checker board pattern. I love the way this simulation looks. Click on a square to kill all life in that square.
I call this "The Warhol". A three by three grid with random colors each playing the standard Conway's Game of Life.
AKA Channel Surfing. This simulation puts 16 simulations on the screen, each with randomly chosen rules. Every 5-10 seconds each simulation has it's rules and colors updated. Epilepsy warning: This simulation has lots of bright flashing lights.
A webform that you can use to make grids like Three by Three and Random Rules, or single simulations with different parameters for pixel size and refresh speed.
Thanks for making it all the way to the bottom! If you enjoyed this project, please consider joining Teb's Lab on Patreon or click the pig to buy me a cup of coffee.Digital Tip Jar