Create README files for all the examples
This commit is contained in:
parent
9758c12176
commit
b0cf47cc2b
12 changed files with 199 additions and 1 deletions
16
examples/clock/README.md
Normal file
16
examples/clock/README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
## Clock
|
||||
|
||||
An application that uses the `Canvas` widget to draw a clock and its hands to display the current time.
|
||||
|
||||
The __[`main`]__ file contains all the code of the example.
|
||||
|
||||
<div align="center">
|
||||
<img src="https://user-images.githubusercontent.com/518289/74716344-a3e6b300-522e-11ea-8aea-3cc0a5100a2e.gif">
|
||||
</div>
|
||||
|
||||
You can run it with `cargo run`:
|
||||
```
|
||||
cargo run --package clock
|
||||
```
|
||||
|
||||
[`main`]: src/main.rs
|
||||
Loading…
Add table
Add a link
Reference in a new issue