nsccs / pygames

Collection of games created with pygame.
4 stars 4 forks source link

Rewrite Game of Life to use OpenGL #17

Open SayYesToTrees opened 9 months ago

SayYesToTrees commented 9 months ago

I feel that using OpenGL fragment shaders and textures in video memory would be both much much faster (something like 18,000 iterations per sec vs 15 to 40) and would be a good way to learn about OpenGL in pygame. I have already started the basics and am just trying how to learn how to get custom framebuffers, textures, and shaders all playing nicely.

I will start a branch on my fork for the WIP.

Others would have the chance to learn about how it works also by writing code to do post-processing on the buffers so we can have some fun with the visuals.

(I still cant add labels so I'm sorry they are missing lol)