Skip to content

Commit 6fd2c15

Browse files
committed
Host GIFs and video examples in iced.rs
RIP Gfycat
1 parent e5afaa0 commit 6fd2c15

File tree

24 files changed

+40
-90
lines changed

24 files changed

+40
-90
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
A cross-platform GUI library for Rust focused on simplicity and type-safety.
1616
Inspired by [Elm].
1717

18-
<a href="https://gfycat.com/littlesanehalicore">
19-
<img src="https://thumbs.gfycat.com/LittleSaneHalicore-small.gif" width="275px">
18+
<a href="https://iced.rs/examples/todos.mp4">
19+
<img src="https://iced.rs/examples/todos.gif" width="275px">
2020
</a>
21-
<a href="https://gfycat.com/politeadorableiberianmole">
22-
<img src="https://thumbs.gfycat.com/PoliteAdorableIberianmole-small.gif" width="273px">
21+
<a href="https://iced.rs/examples/tour.mp4">
22+
<img src="https://iced.rs/examples/tour.gif" width="273px">
2323
</a>
2424

2525
</div>
@@ -47,9 +47,9 @@ __Iced is currently experimental software.__ [Take a look at the roadmap],
4747

4848
[Cross-platform support]: https://raw.githubusercontent.com/iced-rs/iced/master/docs/images/todos_desktop.jpg
4949
[the Web]: https://github.com/iced-rs/iced_web
50-
[text inputs]: https://gfycat.com/alertcalmcrow-rust-gui
51-
[scrollables]: https://gfycat.com/perkybaggybaboon-rust-gui
52-
[Debug overlay with performance metrics]: https://gfycat.com/incredibledarlingbee
50+
[text inputs]: https://iced.rs/examples/text_input.mp4
51+
[scrollables]: https://iced.rs/examples/scrollable.mp4
52+
[Debug overlay with performance metrics]: https://iced.rs/examples/debug.mp4
5353
[Modular ecosystem]: ECOSYSTEM.md
5454
[renderer-agnostic native runtime]: runtime/
5555
[`wgpu`]: https://github.com/gfx-rs/wgpu

examples/README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ A simple UI tour that can run both on native platforms and the web! It showcases
1010
The __[`main`](tour/src/main.rs)__ file contains all the code of the example! All the cross-platform GUI is defined in terms of __state__, __messages__, __update logic__ and __view logic__.
1111

1212
<div align="center">
13-
<a href="https://gfycat.com/politeadorableiberianmole">
14-
<img src="https://thumbs.gfycat.com/PoliteAdorableIberianmole-small.gif">
13+
<a href="https://iced.rs/examples/tour.mp4">
14+
<img src="https://iced.rs/examples/tour.gif">
1515
</a>
1616
</div>
1717

@@ -33,8 +33,8 @@ A todos tracker inspired by [TodoMVC]. It showcases dynamic layout, text input,
3333
The example code is located in the __[`main`](todos/src/main.rs)__ file.
3434

3535
<div align="center">
36-
<a href="https://gfycat.com/littlesanehalicore">
37-
<img src="https://thumbs.gfycat.com/LittleSaneHalicore-small.gif" height="400px">
36+
<a href="https://iced.rs/examples/todos.mp4">
37+
<img src="https://iced.rs/examples/todos.gif" height="400px">
3838
</a>
3939
</div>
4040

@@ -53,9 +53,7 @@ It runs a simulation in a background thread while allowing interaction with a `C
5353
The relevant code is located in the __[`main`](game_of_life/src/main.rs)__ file.
5454

5555
<div align="center">
56-
<a href="https://gfycat.com/briefaccurateaardvark">
57-
<img src="https://thumbs.gfycat.com/BriefAccurateAardvark-size_restricted.gif">
58-
</a>
56+
<img src="https://iced.rs/examples/game_of_life.gif">
5957
</div>
6058

6159
You can run it with `cargo run`:
@@ -72,9 +70,7 @@ An example showcasing custom styling with a light and dark theme.
7270
The example code is located in the __[`main`](styling/src/main.rs)__ file.
7371

7472
<div align="center">
75-
<a href="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif">
76-
<img src="https://user-images.githubusercontent.com/518289/71867993-acff4300-310c-11ea-85a3-d01d8f884346.gif" height="400px">
77-
</a>
73+
<img src="https://iced.rs/examples/styling.gif">
7874
</div>
7975

8076
You can run it with `cargo run`:
@@ -120,9 +116,7 @@ Since [Iced was born in May 2019], it has been powering the user interfaces in
120116

121117

122118
<div align="center">
123-
<a href="https://gfycat.com/gloomyweakhammerheadshark">
124-
<img src="https://thumbs.gfycat.com/GloomyWeakHammerheadshark-small.gif">
125-
</a>
119+
<img src="https://iced.rs/examples/coffee.gif">
126120
</div>
127121

128122
[Iced was born in May 2019]: https://github.com/hecrj/coffee/pull/35

examples/bezier_tool/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ A Paint-like tool for drawing Bézier curves using the `Canvas` widget.
55
The __[`main`]__ file contains all the code of the example.
66

77
<div align="center">
8-
<a href="https://gfycat.com/soulfulinfiniteantbear">
9-
<img src="https://thumbs.gfycat.com/SoulfulInfiniteAntbear-small.gif">
10-
</a>
8+
<img src="https://iced.rs/examples/bezier_tool.gif">
119
</div>
1210

1311
You can run it with `cargo run`:

examples/color_palette/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
A color palette generator, based on a user-defined root color.
44

55
<div align="center">
6-
<a href="https://gfycat.com/dirtylonebighornsheep">
7-
<img src="screenshot.png">
8-
</a>
6+
<img src="screenshot.png">
97
</div>
108

119
You can run it with `cargo run`:
1210

1311
```
14-
cargo run --package pure_color_palette
12+
cargo run --package color_palette
1513
```

examples/counter/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ The classic counter example explained in the [`README`](../../README.md).
55
The __[`main`]__ file contains all the code of the example.
66

77
<div align="center">
8-
<a href="https://gfycat.com/fairdeadcatbird">
9-
<img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
10-
</a>
8+
<img src="https://iced.rs/examples/counter.gif">
119
</div>
1210

1311
You can run it with `cargo run`:

examples/custom_widget/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ A demonstration of how to build a custom widget that draws a circle.
55
The __[`main`]__ file contains all the code of the example.
66

77
<div align="center">
8-
<a href="https://gfycat.com/jealouscornyhomalocephale">
9-
<img src="https://thumbs.gfycat.com/JealousCornyHomalocephale-small.gif">
10-
</a>
8+
<img src="https://iced.rs/examples/custom_widget.gif">
119
</div>
1210

1311
You can run it with `cargo run`:

examples/download_progress/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ A basic application that asynchronously downloads multiple dummy files of 100 MB
55
The example implements a custom `Subscription` in the __[`download`](src/download.rs)__ module. This subscription downloads and produces messages that can be used to keep track of its progress.
66

77
<div align="center">
8-
<a href="https://gfycat.com/wildearlyafricanwilddog">
9-
<img src="https://thumbs.gfycat.com/WildEarlyAfricanwilddog-small.gif">
10-
</a>
8+
<img src="https://iced.rs/examples/download_progress.gif">
119
</div>
1210

1311
You can run it with `cargo run`:

examples/events/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ A log of native events displayed using a conditional `Subscription`.
44

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

7-
<div align="center">
8-
<a href="https://gfycat.com/infamousicyermine">
9-
<img src="https://thumbs.gfycat.com/InfamousIcyErmine-small.gif">
10-
</a>
11-
</div>
12-
137
You can run it with `cargo run`:
148
```
159
cargo run --package events

examples/game_of_life/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ It runs a simulation in a background thread while allowing interaction with a `C
77
The __[`main`]__ file contains the relevant code of the example.
88

99
<div align="center">
10-
<a href="https://gfycat.com/WhichPaltryChick">
11-
<img src="https://thumbs.gfycat.com/WhichPaltryChick-size_restricted.gif">
12-
</a>
10+
<img src="https://iced.rs/examples/game_of_life.gif">
1311
</div>
1412

1513
You can run it with `cargo run`:

examples/geometry/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ A custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [
55
The __[`main`]__ file contains all the code of the example.
66

77
<div align="center">
8-
<a href="https://gfycat.com/activeunfitkangaroo">
9-
<img src="https://thumbs.gfycat.com/ActiveUnfitKangaroo-small.gif">
10-
</a>
8+
<img src="https://iced.rs/examples/geometry.gif">
119
</div>
1210

1311
You can run it with `cargo run`:

0 commit comments

Comments
 (0)