pixels/examples/conway
Jay Oster 5a96eea6ba
Handle all wgpu::SurfaceError variants (#348)
This fixes error handling for all `wgpu::SurfaceError` variants. It also adds more context to error messages printed by the examples.

Closes #346
2023-03-21 07:16:51 -07:00
..
src Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16:51 -07:00
Cargo.toml Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16: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