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

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

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