Back

WebGPU Game of Life

This is a WebGPU implementation of Conway's Game of Life, using compute shaders to run the simulation on your GPU and a GPU render pipeline to render the output. I used this article as a starting point and modified it to work in a React-based environment.

The source code is available here, and if your browser and device support WebGPU it there'll be a live version below.