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
- Host: GitHub
- URL: https://github.com/vasyl-bodnar/gol-metal
- Owner: Vasyl-Bodnar
- License: mit
- Created: 2025-01-31T18:21:27.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-31T18:35:30.000Z (4 months ago)
- Last Synced: 2025-01-31T19:27:55.315Z (4 months ago)
- Topics: appkit, macos, metal, swift
- Language: Swift
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.