This is a WebGL fragment shader implementation of the 1-bit cellular automaton Conway's Game of Life, written by Amanda Ghassaei.

Instructions: Touch/drag to add new pixels. Change the birth and survival rules in the menu to control the dynamics of the system. Press "v" to record a video.

This page is part of a series of examples using gpu-io, a GPU-accelerated computing library for physics simulations and other mathematical calculations. Find the source code on Github.