Back

Conway's Game of Life

Overview

A full-screen implementation of Conway's Game of Life using HTML5 Canvas and JavaScript. This project demonstrates cellular automata simulation with a dynamic grid that adapts to screen size, classic Conway rules for cell survival and birth, support for testing common patterns like Blinker, Block, and Glider.

The main challenge was optimizing the grid calculation and rendering performance for smooth animations on large grids.

I implemented efficient grid calculations using typed arrays and requestAnimationFrame for smooth 60fps animations with adjustable update speeds.

Result

A fully functional cellular automata simulator with support for various patterns and smooth performance across different screen sizes.

Stack

JavaScript HTML5 Canvas CSS
HoubyHouby

"Just like in music, development relies on rhythm, structure, and creativity."

Open to projects

RobinWeiss