summaryrefslogtreecommitdiffstats
path: root/examples/geometry/README.md
blob: 16be8d191d69d596266fd0e9e9dbc5d36c59f8be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Geometry

A custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [`iced_wgpu`](../../wgpu).

The __[`main`]__ file contains all the code of the example.

<div align="center">
  <img src="https://iced.rs/examples/geometry.gif">
</div>

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

[`main`]: src/main.rs