Skip to content

3D generation stacking Conway Game of life written in C with the help of raylib.

Notifications You must be signed in to change notification settings

amir-kedis/C-3DConway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D visualization of Conway's Game of Life, written in C

📽 Demo

3dconway-reduced.mp4

This my trial to combine 3D graphics with Conway's Game of Life and practice my C skills. The idea is to visualize the game of life in 3D space, every cube of the top layer represents a cell in the game of life. each layer represents a generation so the y axis is the time axis. colors represent the number of neighbors of each cell.

🚀 To run the simulation install raylib and run the following command:

make

⚙️ Controls

  • WASD+QE or mouse: Move camera
  • P: Pause simulation
  • R: Randomize grid
  • C: Change color shift type
  • SPACE: Step simulation
  • ENTER: Toggle Rotation
  • ?: Show Instructions

About

3D generation stacking Conway Game of life written in C with the help of raylib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published