Export Code

Game of Life on a Torus

Curran Kelleher

Last edited May 15, 2025
Created on May 15, 2025

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