Skip to content

borisboesler/Metal-Life

 
 

Repository files navigation

Metal Life

Conway's Game of Life (a.k.a. the "Hello World" of programmable graphics), implemented in Metal Shaders.

(Originally the CPU was doing nothing at all, just telling the GPU when to reset its buffers. Then I got greedy and wanted to be able to change the colors and point size without restarting, which meant the CPU had to get more involved to coordinate the UI with the shaders. Less pure, but more fun to play with. Mission of learning about Metal, Swift, and brushing up on Cocoa UI setups: accomplished.)

Now there's a screensaver, too! :D

The program in action

life at work

With controls!

shrunk but high framerate of the controls

About

Conway's Game of Life implemented in Metal and Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 76.4%
  • Metal 23.6%