diff options
Diffstat (limited to 'examples/solar_system/README.md')
-rw-r--r-- | examples/solar_system/README.md | 18 |
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 |