Skip to content

Balta-Stefan/Conways-game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conways-game-of-life

Made in C++ with Qt and OpenCL. Users can:

  • Fast forward to a specified generation.
  • Save the current state to a file and load it next time.
  • Zoom the world - smart zooming is performed so that the point under the cursor remains under the cursor after zooming.

GIF

To do:

  1. Parallelize the simulation (AVX might also be used).
  2. Optimize the kernel.All threads within a workgroup share adjacent bytes.It makes sense to move them into shared memory.
  3. When zooming in leads to nonexistant cells, the screen coordinates are adjusted to avoid that problem.Current implementation is unable to zoom into the border cells because of this.Fix this problem!
  4. Determine the speedups gained by using lookup tables of different sizes.
  5. Optimize drawing - instead of drawing the entire picture, redraw only the changes.
  6. Write documentation!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published