summaryrefslogblamecommitdiffstats
path: root/examples/solar_system/README.md
blob: acfbc46639bdacf9e40abc5a47269133deac24b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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