diff options
Diffstat (limited to '')
-rw-r--r-- | examples/clock/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/clock/README.md b/examples/clock/README.md new file mode 100644 index 00000000..17509180 --- /dev/null +++ b/examples/clock/README.md @@ -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 |