Game of Life
An interactive version of the Game of Life, invented by John Horton Conway.
It runs a simulation in a background thread while allowing interaction with a Canvas that displays an infinite grid with zooming, panning, and drawing support.
The main file contains the relevant code of the example.
You can run it with cargo run:
cargo run --package game_of_life