pixels/examples/conway
Alex 0b380b637d
Allow accessing frame on immutable buffer (#288)
* Allow accessing frame on immutable buffer

* Rename `get_frame` to `get_frame_mut`

* Use `get_frame_mut` in examples
2022-08-14 15:44:23 -07:00
..
src Allow accessing frame on immutable buffer (#288) 2022-08-14 15:44:23 -07:00
Cargo.toml Update dependencies (#272) 2022-04-25 05:04:51 -07:00
README.md Fix dependency bloat (#67) 2020-04-13 10:12:18 -07:00

Conway's Game of Life

Conway's Game of Life

Running

cargo run --release --package conway

Controls

  • Mouse: Left click toggles cells, dragging draws lines.
  • P: Toggle pause.
  • space: Frame step (enables pause if not already paused)
  • R: Randomize
  • escape: Quit