Skip to content

peancored/game-of-life

Repository files navigation

Conway's Game of Life - WebGL & WebAssembly Version

image image

Demo

Check out the live demo here.

WARNING: The link might not work when opened for the first time, simply reload the page and it should load correctly.

Overview

This project is a WebGL- and WebAssembly-powered implementation of Conway's Game of Life. Leveraging these technologies allows the simulation to handle high-cardinality grids with impressive performance and visuals.

Features

  • High Performance: Thanks to WebGL and WASM, the simulation runs smoothly even with large grids.
  • Pattern Library: The app includes a selection of well-known patterns that you can drag and drop directly onto the grid.

How to Use

  1. Clear the Screen: Press c to clear the grid.
  2. Drag and Drop Patterns: Select a pattern from the side panel on the right and drag it onto the grid.
  3. Start the Simulation: Press s to start the simulation and watch the patterns evolve.
  4. Check the cheatsheet for even more cool stuff.

Technologies Used

  • WebGL: For rendering the grid and patterns with high performance.
  • WebAssembly (WASM): For handling the complex calculations required by the simulation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published