summaryrefslogtreecommitdiffstats
path: root/examples/solar_system
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:12:27 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:20:05 +0100
commitb0cf47cc2b736080d25a6fe48d17ef5086d6a39a (patch)
tree14e343816af52ee12635fcfec9046e9086519523 /examples/solar_system
parent9758c121764a6e8e5a45b8a66915127b31e61df7 (diff)
downloadiced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.gz
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.bz2
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.zip
Create `README` files for all the examples
Diffstat (limited to 'examples/solar_system')
-rw-r--r--examples/solar_system/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/solar_system/README.md b/examples/solar_system/README.md
new file mode 100644
index 00000000..acfbc466
--- /dev/null
+++ b/examples/solar_system/README.md
@@ -0,0 +1,18 @@
+## Solar system
+
+An animated solar system drawn using the `Canvas` widget and showcasing how to compose different transforms.
+
+The __[`main`]__ file contains all the code of the example.
+
+<div align="center">
+ <a href="https://gfycat.com/selfassuredaromaticdunnart">
+ <img src="https://thumbs.gfycat.com/SelfassuredAromaticDunnart-small.gif">
+ </a>
+</div>
+
+You can run it with `cargo run`:
+```
+cargo run --package solar_system
+```
+
+[`main`]: src/main.rs