https://github.com/pythops/golrs
Game Of Life using webgpu, written in Rust
https://github.com/pythops/golrs
game-of-life rust webgpu wgpu wgsl wgsl-shader
Last synced: 6 months ago
JSON representation
Game Of Life using webgpu, written in Rust
- Host: GitHub
- URL: https://github.com/pythops/golrs
- Owner: pythops
- Created: 2023-08-13T12:11:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-08T22:11:54.000Z (over 1 year ago)
- Last Synced: 2024-12-25T19:48:07.610Z (6 months ago)
- Topics: game-of-life, rust, webgpu, wgpu, wgsl, wgsl-shader
- Language: Rust
- Homepage:
- Size: 1.46 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Game of Life using webgpu
![]()
## ✨ Description
This is the implementation of the tutorial [Your first WebGPU app](https://codelabs.developers.google.com/your-first-webgpu-app) in Rust where we're using webgpu to implement the [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).
## 🔌 Setup
You need:
- [Rust](https://www.rust-lang.org/) compiler and [Cargo package manager](https://doc.rust-lang.org/cargo/)
- One of the [supported backends](https://github.com/gfx-rs/wgpu#supported-platforms) by [wgpu](https://github.com/gfx-rs/wgpu) crate.## 🚀 Getting started
```bash
$ git clone https://github.com/pythops/golrs
$ cd golrs/
$ cargo run
```## ⚙️ Configuration
You can specify the grid size with `size` argument (the default value is `128`)
```bash
$ cargo run -- --size
```## License
AGPLv3