An open API service indexing awesome lists of open source software.

https://github.com/vasyl-bodnar/gol-metal

Game of Life implemented and computed with Metal and Appkit
https://github.com/vasyl-bodnar/gol-metal

appkit macos metal swift

Last synced: 2 months ago
JSON representation

Game of Life implemented and computed with Metal and Appkit

Awesome Lists containing this project

README

        

# gol-metal
A straightforward Game of Life implemented in a compute shader and rendered to an Appkit created surface using Metal with a colored fragment shader.

## Build & Run
If any changes are made to the `default.metal` file, with XCode installed, make sure to run `xcrun --sdk macosx metal default.metal`.
This will produce a necessery `.metallib` which is used by the executable.

Otherwise, `swift run` to run, and `swift build` to build an executable can be used as typical.

Note that this is not made in Xcode directly.