Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/game4all/dustpile
🧪GPU accelerated falling sand sim in Zig
https://github.com/game4all/dustpile
compute-shader falling-sand opengl zig ziglang
Last synced: 3 months ago
JSON representation
🧪GPU accelerated falling sand sim in Zig
- Host: GitHub
- URL: https://github.com/game4all/dustpile
- Owner: Game4all
- Created: 2023-07-30T13:11:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-16T12:04:09.000Z (about 1 year ago)
- Last Synced: 2024-01-16T18:55:17.812Z (about 1 year ago)
- Topics: compute-shader, falling-sand, opengl, zig, ziglang
- Language: Zig
- Homepage:
- Size: 1.61 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dustpile
GPU falling sand sim in Zig
Uses [generated OpenGL bindings](https://github.com/MasterQ32/zig-opengl) to interact with the GPU.
Requires zig master to compile```
- B : Change brush type
- W : Reset world
- Space : Pause / Resume simulation
- P : Step simulation
- 1-9 : Switch to element
```![a](assets/dagif.gif)
![](assets/screenshot.png)