Skip to content

2 Dimensional Cellular Automata Visualisation (Game of Life)

Notifications You must be signed in to change notification settings

karusb/2DCA-CUDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Cellular Automata Based on Conway's Game of Life Visualised Using CUDA & OpenGL Interoperability

Compiling and Running

  • Clone this project in to visual studio and open the solution
  • Copy all the contents in the GL directory to your Windows\system32 or/and Windows\sysWOW64 directories.
  • After importing to visual studio, right click on the project selecto properties then choose linker to add a dependency. Please change the "Additional Library Directories" pointing GL directory to your GL directory. Otherwise the program won't compile.
  • Set your world parameters before compiling by changing PanelH and PanelW. Default is 500x500 with 500 generations.
  • Compile and run

Low end devices may not support tcompstart for worlds larger than 500x500 meaning that the framerate will be significantly low

Algorithm Flowchart

Algorithm Flowchart Algorithm Flowchart2

Releases

No releases published

Packages

No packages published