Conway's Game of Life implemented in Rust with piston (by default, graphics done by OpenGL).
To pan the field of view:
- Click and drag anywhere in the window, or
- Scroll up, down, left, or right (with e.g. a scroll wheel)
To zoom:
Ctrl
+
to zoom inCtrl
-
to zoom out- Alternatively, hold
Ctrl
while scrolling up and down
Other controls:
- Click directly on a cell to toggle alive/dead
Spacebar
to pause/resume generation ticks[
and]
to slow down and speed up (respectively) generation ticks
A recent Rust toolchain is required for building. Piston will use the pure-Rust glutin OpenGL context creation library by default (alleviating the need for linking against external libraries).
To build (a debug version):
cargo build
To build then run directly:
cargo run