A 3D visualization of Conway's Game of Life where each generation sinks down into a glowing history stack.
The current generation sits on top; each step the previous generation sinks down into a history stack below. 8 history layers fade in opacity and color giving a glowing 3D time-slice effect from a fixed isometric camera.
- 3D History Stack: Watch generations accumulate into a glowing vertical timeline
- Interactive Controls: Click cells to toggle their state
- Pause/Resume: Control the simulation speed
- Isometric View: Fixed camera angle for optimal 3D visualization
- TypeScript - Type-safe JavaScript
- Vite - Fast development and building
- Three.js - 3D graphics library
# Clone the repository
git clone https://github.com/vnglst/stacked-game-of-life.git
cd stacked-game-of-life
# Install dependencies
npm install
# Start development server
npm run devOpen http://localhost:5173 to view in your browser.
- Click on a cell to toggle its state (alive/dead)
- Spacebar to pause/resume the simulation
- Any live cell with fewer than two live neighbours dies (underpopulation)
- Any live cell with two or three live neighbours lives on
- Any live cell with more than three live neighbours dies (overpopulation)
- Any dead cell with exactly three live neighbours becomes alive (reproduction)
Each generation is rendered as a layer of cubes. As new generations are computed, older layers sink down and fade out, creating a mesmerizing 3D time visualization of the cellular automaton's evolution.
MIT
