Skip to main content
100%

Game of Life on a Torus

✓ Published0🌍 Public
CCurran Kelleher
Last edited May 15, 2025
Created on May 15, 2025

A glossy, metallic torus rotates in 3D space, its surface displaying Conway's Game of Life evolving in real time. The simulation runs on a 128×128 canvas texture, with each generation updating every 150 milliseconds using toroidal boundary conditions. Three.js renders the scene with WebGL, while React 19 manages the component lifecycle and OrbitControls enable interactive zooming and rotation.

AI-generated description

Torus Example

A simple example of a 3D torus implemented with React 19 and Three.js (no react-three-fiber).

Features:

  • Glossy torus with metallic material
  • Game of Life simulation texture that evolves over time
  • Auto-rotation for dynamic visualization
  • Orbit controls for interactive viewing
  • Responsive design that adjusts to window size

Drag to orbit, scroll to zoom, and enjoy the shiny torus with Conway's Game of Life playing across its surface!

MIT Licensed

Similar vizzes