Skip to content
A WebAssembly version of Conway's Game of Life
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is yet another implementation of Conway's Game of Life using a WebAssembly module and JavaScript. This version displays cells in a 32x32 grid, and displays a 'glider' pattern moving diagonally across the screen.

This repository contains a pre-built web assembly module, otherwise you can build this project yourself using ''. Make sure you have a recent version of the Emscripten SDK, which can be installed according to this guide:

It works by performing most of the computation for each generation in the WebAssembly module, and then using Emscripten's port of SDL, it copies the rendered frame buffer into the pixel data for the canvas element on the page.

I've limited the frame rate to 15FPS, as the default frame rate of 60FPS was too fast.

You can’t perform that action at this time.