summaryrefslogtreecommitdiffstats
path: root/examples/pure/game_of_life/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 19:09:40 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 19:14:57 +0700
commit7d7064a44dcda8251bd5ef53765ba025159a0bba (patch)
tree39e13e854ea4f55f73aefa0e5ac30a1a46f8e32b /examples/pure/game_of_life/README.md
parent0cddb3c1b55017cda29d32924514e917a389f11b (diff)
downloadiced-7d7064a44dcda8251bd5ef53765ba025159a0bba.tar.gz
iced-7d7064a44dcda8251bd5ef53765ba025159a0bba.tar.bz2
iced-7d7064a44dcda8251bd5ef53765ba025159a0bba.zip
Implement `pure` version of `game_of_life` example :tada:
Diffstat (limited to 'examples/pure/game_of_life/README.md')
-rw-r--r--examples/pure/game_of_life/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/pure/game_of_life/README.md b/examples/pure/game_of_life/README.md
new file mode 100644
index 00000000..aa39201c
--- /dev/null
+++ b/examples/pure/game_of_life/README.md
@@ -0,0 +1,22 @@
+## 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.
+
+<div align="center">
+ <a href="https://gfycat.com/WhichPaltryChick">
+ <img src="https://thumbs.gfycat.com/WhichPaltryChick-size_restricted.gif">
+ </a>
+</div>
+
+You can run it with `cargo run`:
+```
+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