summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/README.md
blob: 81ffd3a5ca61d75548ac9c971fca9ede115e71d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## 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">
  <img src="https://iced.rs/examples/solar_system.gif">
</div>

You can run it with `cargo run`:
```
cargo run --package solar_system
```

[`main`]: src/main.rs