Skip to content

Commit 40bf217

Browse files
authored
Move gifs to git lfs (#5706)
Since we moved pngs to lfs I think we should also move the gifs there. * [x] I have followed the instructions in the PR template
1 parent cd22517 commit 40bf217

12 files changed

+8
-8
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
* text=auto eol=lf
22
Cargo.lock linguist-generated=false
33
*.png filter=lfs diff=lfs merge=lfs -text
4+
*.gif filter=lfs diff=lfs merge=lfs -text
45

56
# Exclude some small files from LFS:
67
crates/eframe/data/* !filter !diff !merge text=auto eol=lf

.github/workflows/png_only_on_lfs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
exclude_pattern=$(printf "|^%s" "${exclude_paths[@]}" | sed 's/^|//')
2626
2727
if comm -23 <(git ls-files | grep -Ev "$exclude_pattern" | sort) <(git lfs ls-files -n | sort) | grep "\.${ext}$"; then
28-
echo "Error: Found binary file with extension .$ext not tracked by git LFS. See CONTRIBUTING.md"
28+
echo "Error: Found binary file with extension .$ext not tracked by git LFS. See https://github.com/emilk/egui/blob/master/CONTRIBUTING.md#working-with-git-lfs"
2929
exit 1
3030
fi
3131
done

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
<div align="center">
14-
<a href="https://www.rerun.io/"><img src="media/rerun_io_logo.png" width="250"></a>
14+
<a href="https://www.rerun.io/"><img src="https://github.com/user-attachments/assets/78e79463-4357-461b-bbd1-31aa5ef5e1a2" width="250"></a>
1515

1616
egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building<br>
1717
an SDK for visualizing streams of multimodal data.
@@ -46,7 +46,7 @@ ui.label(format!("Hello '{name}', age {age}"));
4646
ui.image(egui::include_image!("ferris.png"));
4747
```
4848

49-
<img alt="Dark mode" src="media/demo.gif"> &nbsp; &nbsp; <img alt="Light mode" src="media/demo_light_mode.png" height="278">
49+
<img alt="Dark mode" src="https://github.com/user-attachments/assets/3b446d29-99d8-4c82-86bb-4d8ef0516017"> &nbsp; &nbsp; <img alt="Light mode" src="https://github.com/user-attachments/assets/a5e7da93-89a8-4ba0-86b8-0fa2228a4f62" height="278">
5050

5151
## Sections:
5252

@@ -136,12 +136,11 @@ Still, egui can be used to create professional looking applications, like [the R
136136
Check out the [3rd party egui crates wiki](https://github.com/emilk/egui/wiki/3rd-party-egui-crates) for even more
137137
widgets and features, maintained by the community.
138138

139-
<img src="media/widget_gallery_0.23.gif" width="50%">
139+
<img src="https://github.com/user-attachments/assets/13e73b76-e456-42bd-8ec9-220802834268" width="50%">
140140

141141
Light Theme:
142142

143-
<img src="media/widget_gallery_0.23_light.png" width="50%">
144-
143+
<img src="https://github.com/user-attachments/assets/2e38972c-a444-4894-b32f-47a2719cf369" width="50%">
145144

146145
## Dependencies
147146
`egui` has a minimal set of default dependencies:
@@ -268,7 +267,7 @@ This is not yet as powerful as say CSS, [but this is going to improve](https://g
268267

269268
Here is an example (from https://github.com/a-liashenko/TinyPomodoro):
270269

271-
<img src="media/pompodoro-skin.png" width="50%">
270+
<img src="https://github.com/user-attachments/assets/e6107237-2547-41d6-996b-9a20ae0345ab" width="50%">
272271

273272
### How do I use egui with `async`?
274273
If you call `.await` in your GUI code, the UI will freeze, which is very bad UX. Instead, keep the GUI thread non-blocking and communicate with any concurrent tasks (`async` tasks or other threads) with something like:
@@ -376,7 +375,7 @@ Default fonts:
376375
---
377376

378377
<div align="center">
379-
<a href="https://www.rerun.io/"><img src="media/rerun_io_logo.png" width="440"></a>
378+
<a href="https://www.rerun.io/"><img src="https://github.com/user-attachments/assets/78e79463-4357-461b-bbd1-31aa5ef5e1a2" width="440"></a>
380379

381380
egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building<br>
382381
an SDK for visualizing streams of multimodal data.

examples/images/src/ferris.gif

-602 KB
Loading

media/0.9.0-disabled.gif

-1.06 MB
Loading

media/demo-2021-01-17.gif

-167 KB
Loading

media/demo.gif

-91.3 KB
Loading

media/egui-0.10-plot.gif

-3.99 MB
Loading

media/egui-0.15-code-editor.gif

-230 KB
Loading

media/widget_gallery.gif

-1.26 MB
Loading

media/widget_gallery_0.23.gif

-196 KB
Loading

media/widget_gallery_0.8.0.gif

-1.13 MB
Loading

0 commit comments

Comments
 (0)