Game of Life
Conway's Game of Life implemented in Rust and OpenGL via gfx-rs
.
Done as an exercise to practise Rust and get my feet with with OpenGL.
Areas explored:
- General rendering
- Vertex, fragment shaders
- Pipeline state objects
- Rayon for parallel processing
- Building and deploying cross-platform binaries via trust
Usage
You can run the executable by downloading one of the binaries in releases, or
via cargo install gol
, then running gol
, or if you've cloned the repo,cargo run
.
If running via cargo
, options need to be passed by appending --
, i.e. cargo run -- -h 10 -w 10
.
Todo
- Optimise!