This is a simple implementation of Conway's Game of Life using TensorFlow.js

The game is controlled using a simple 2D convolution to sum the living neighbors and then tensor math to set the state of the new population.

Use the sliders to control the speed (FPS) and resolution (size of the population) of the simulation.

NOTE: Set your resolution and speed carefully. If your backend is not WebGL or if you do not have a powerful GPU, high speed and a lower resolution value will result in long compute time and possible crashing.

Current backend: undefined

Sorry, this demo is best viewed on a larger screen.

You might wanna head back now.

Back to homepage