-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
2,542 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Bézier tool | ||
|
||
A Paint-like tool for drawing Bézier curves using [`lyon`]. | ||
|
||
The __[`main`]__ file contains all the code of the example. | ||
|
||
<div align="center"> | ||
<a href="https://gfycat.com/soulfulinfiniteantbear"> | ||
<img src="https://thumbs.gfycat.com/SoulfulInfiniteAntbear-small.gif"> | ||
</a> | ||
</div> | ||
|
||
You can run it with `cargo run`: | ||
``` | ||
cargo run --package bezier_tool | ||
``` | ||
|
||
[`main`]: src/main.rs | ||
[`lyon`]: https://github.com/nical/lyon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "clock" | ||
version = "0.1.0" | ||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"] | ||
edition = "2018" | ||
publish = false | ||
|
||
[features] | ||
canvas = [] | ||
|
||
[dependencies] | ||
iced = { path = "../..", features = ["canvas", "async-std", "debug"] } | ||
iced_native = { path = "../../native" } | ||
chrono = "0.4" | ||
async-std = { version = "1.0", features = ["unstable"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.