From 70f86f998b6db102d5b77f756750414efd53aa9e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 29 Apr 2020 08:25:42 +0200 Subject: Add `game_of_life` example RIP John Conway --- examples/game_of_life/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/game_of_life/README.md (limited to 'examples/game_of_life/README.md') diff --git a/examples/game_of_life/README.md b/examples/game_of_life/README.md new file mode 100644 index 00000000..ebbb12cc --- /dev/null +++ b/examples/game_of_life/README.md @@ -0,0 +1,18 @@ +## Bézier tool + +A Paint-like tool for drawing Bézier curves using the `Canvas` widget. + +The __[`main`]__ file contains all the code of the example. + +
+ + + +
+ +You can run it with `cargo run`: +``` +cargo run --package bezier_tool +``` + +[`main`]: src/main.rs -- cgit From 005ad6215aa9e2a8f159454c8006b5dc6aeb3635 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 30 Apr 2020 08:59:47 +0200 Subject: Update `README` of `game_of_life` example --- examples/game_of_life/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'examples/game_of_life/README.md') diff --git a/examples/game_of_life/README.md b/examples/game_of_life/README.md index ebbb12cc..bb1b9736 100644 --- a/examples/game_of_life/README.md +++ b/examples/game_of_life/README.md @@ -1,18 +1,19 @@ -## Bézier tool +## Game of Life -A Paint-like tool for drawing Bézier curves using the `Canvas` widget. +An interactive version of the Game of Life, invented by John Conway, implemented +on top of a `Canvas` widget and other controls. -The __[`main`]__ file contains all the code of the example. +The __[`main`]__ file contains the relevant code of the example.
- - + +
You can run it with `cargo run`: ``` -cargo run --package bezier_tool +cargo run --package game_of_life ``` [`main`]: src/main.rs -- cgit From 2f41ccee1c7b52f872d68d2e5ebd68ea49a1559b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 3 May 2020 02:49:04 +0200 Subject: Update GIF of `game_of_life` example --- examples/game_of_life/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/game_of_life/README.md') diff --git a/examples/game_of_life/README.md b/examples/game_of_life/README.md index bb1b9736..5741cbf6 100644 --- a/examples/game_of_life/README.md +++ b/examples/game_of_life/README.md @@ -6,8 +6,8 @@ on top of a `Canvas` widget and other controls. The __[`main`]__ file contains the relevant code of the example.
- - + +
-- cgit From 93c6be5eef577f0778b5787dac37351c035ed471 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 4 May 2020 23:54:28 +0200 Subject: Update `README` of `game_of_life` example --- examples/game_of_life/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/game_of_life/README.md') diff --git a/examples/game_of_life/README.md b/examples/game_of_life/README.md index 5741cbf6..1aeb1455 100644 --- a/examples/game_of_life/README.md +++ b/examples/game_of_life/README.md @@ -1,7 +1,8 @@ ## Game of Life -An interactive version of the Game of Life, invented by John Conway, implemented -on top of a `Canvas` widget and other controls. +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. @@ -17,3 +18,5 @@ cargo run --package game_of_life ``` [`main`]: src/main.rs +[Game of Life]: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life +[John Horton Conway]: https://en.wikipedia.org/wiki/John_Horton_Conway -- cgit