add initial attempt at adding winit example

This commit is contained in:
TimUntersberger 2021-06-25 15:38:30 +02:00
parent 06d0158efb
commit 52d44769a3
4 changed files with 90 additions and 0 deletions

18
examples/winit/README.md Normal file
View file

@ -0,0 +1,18 @@
## Counter
The classic counter example explained in the [`README`](../../README.md).
The __[`main`]__ file contains all the code of the example.
<div align="center">
<a href="https://gfycat.com/fairdeadcatbird">
<img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
</a>
</div>
You can run it with `cargo run`:
```
cargo run --package counter
```
[`main`]: src/main.rs