Advertisement · 728 × 90

Posts by emilk

Preview
New lint: `disallowed_trait_usage` by emilk · Pull Request #16810 · rust-lang/rust-clippy New lint: disallowed_trait_usage fixes New lint: disallowed-trait-usage #15765 This adds a new configurable lint [disallowed_trait_usage] that lets users forbid using a type via a specific trait...

And another one! This one will be super useful in order to prevent `Debug` formatting of error types (which almost always look A LOT better with `Display` formatting): github.com/rust-lang/ru...

2 weeks ago 4 0 2 0
Preview
Add clippy lint: `use_destructuring` by emilk · Pull Request #16807 · rust-lang/rust-clippy changelog: [use_destructuring]: new pedantic lint that suggests using destructuring when all fields of a struct are accessed individually Adds a new lint that detects when a function accesses every...

I added a clippy lint! Well, we'll see if it gets accepted :)

github.com/rust-lang/ru...

2 weeks ago 24 0 2 0
Scene from "O Brother, Where Art Thou?"

Scene from "O Brother, Where Art Thou?"

Look, I'm sure that Nolan's adaptation of "The Odyssey" will be fun, but I highly doubt it will be as good as the original.

3 months ago 7364 1055 118 82
egui – An immediate mode GUI written in Rust

www.egui.rs is now using WebGPU where available. Let me know if this causes any problems for anyone!

5 months ago 33 3 3 0
Video

Being able to iterate on games and UIs while running a @bevy.org app with dioxus hot-patching is MENTAL. Love it so much!

Testing in on a fractal clock example from @ernerfeldt.bsky.social's egui

6 months ago 22 3 1 1

Thanks! So the square map is a binary tree that bottoms out in sorted vectors of some max-size? (A picture would help your article a lot 🙏)

I think a comparison to a B-tree is warranted

7 months ago 0 0 0 0
Preview
Den stora kyrkflytten – Första dagen I direktsändning följer vi den världsunika flytten av Kiruna kyrka, från gamla stadskärnan till dess nya plats, fem kilometer bort. Den stora kyrkflytten tar två dagar och är en del av den omfattande ...

Sweden has the worlds fastest church ✌️
www.svtplay.se/video/KnDgQ9...

8 months ago 5 1 0 0

Thank you ❤️

9 months ago 1 0 0 0
Preview
Release 0.32.0 - Atoms, popups, and better SVG support · emilk/egui egui is an easy-to-use immediate mode GUI for Rust that runs on both web and native. Try it now: https://www.egui.rs/ egui development is sponsored by Rerun, a startup building an SDK for visualizi...

There are a lot more improvements and bug fixes - read all about them in the release notes here: github.com/emilk/egui/r...

Happy hacking!

9 months ago 8 0 0 0
Before!

Before!

After!

After!

Finally, we've improved text rendering (again!). Especially light mode looks a lot better. Before/after:

9 months ago 6 0 1 0
Advertisement
Video

SVG support has been greatly improved. We now have pixel-perfect scalable vector graphics. Yay :)

On a related note, the next Rerun release switches all its icons to SVGs ;)

9 months ago 6 0 1 0

We've completely rewritten popups in egui, with `egui::Popup`, which now powers tooltips, context menus, normal menus, combo-boxes, and everything else that, well, pop up :)

It's very powerful yet ergonomic

9 months ago 4 0 1 0
Post image

egui::Atom is the new, indivisible building block of egui (hence the name). It lets you mix images and text in many places where you would previously only be able to add text.

Atoms is the first step towards a more powerful layout engine in egui - stay tuned!

9 months ago 4 0 1 0

egui 0.32.0 has been released!

This is a big egui release, with several exciting new features!

* Atoms are new layout primitives in egui, for text and images
* Popups, tooltips and menus have undergone a complete rewrite
* Much improved SVG support
* Crisper graphics (especially text!)

🧵

9 months ago 35 2 1 0

My egui co-maintainer Lucas is hosting a Rust Meetup in Hannover!

10 months ago 9 2 0 0
Video

@rerun.io v0.23 is finally out! 🎉 I’ve extended my @gradio-hf.bsky.social annotation pipeline to support multiview videos using the callback system introduced in 0.23.

11 months ago 5 3 2 1
* Suggest use to_string rather than format!("{}") rust-lang/rust-clippy#8828
* Suggest impl FromStr instead of TryFrom<&str> rust-lang/rust-clippy#14522
* Suggest using == instead of matches! rust-lang/rust-clippy#14688

* Suggest use to_string rather than format!("{}") rust-lang/rust-clippy#8828 * Suggest impl FromStr instead of TryFrom<&str> rust-lang/rust-clippy#14522 * Suggest using == instead of matches! rust-lang/rust-clippy#14688

Anyone wants to work on some clippy lints? :)
(more can be found at github.com/rerun-io/ope...)

11 months ago 4 0 0 0

This is a BIG undertaking and will take a while to get done. My startup, Rerun, is sponsoring the PR author Valadaptive in her ongoing work.

11 months ago 9 0 0 0
[WIP] Render text with Parley by valadaptive · Pull Request #5784 · emilk/egui Resolves Cosmic Text for font rendering #3378 Resolves Automatically load system fonts when needed #5233 Closes feat: add feature for load system fonts according user input #1687 (superseded) Resol...

Exciting news for egui: there is a draft branch for switching the text handling to Parley, which will bring support for color emojis, right-to-left text, access to system fonts, and much more! github.com/emilk/egui/p...

11 months ago 30 5 1 0
Advertisement
Docs.rs

Wow! Interactive examples on docs.rs: docs.rs/bezier-rs/la...

1 year ago 17 5 1 1

Also it just keeps on coming today…

1 year ago 1 0 0 0

It’s only once a year or so, but when it happens you can’t mass-report it, so you need to either spend hours reporting each issue individually (no thanks) or ten minutes closing all as ”not planned”. But then the issues remain forever, and goes unreported.

1 year ago 0 0 1 0
Post image

@github.com Please step up your anti-spam game. Having to manually mark hundreds of issues as "Not planned" is not a fun way to start my Saturday 😡

1 year ago 9 2 2 0

I use it to keep track of the libraries dependencies, to make sure it doesn't explode. I also use `cargo deny` to ensure there are no duplicates in the dependency tree.
And if someone makes a PR to add a new dependency, you directly see all the transitive dependencies it pulls in.

1 year ago 4 0 1 0

Hot take: All Rust repos should have Cargo.lock in git together with a `.gitattributes` file containing:

Cargo.lock linguist-generated=false

This makes the diff of Cargo.lock show up in GitHub PRs

1 year ago 8 1 1 0
Re: Can You Fool A Self Driving Car? Testing variations reveal what went wrong
Re: Can You Fool A Self Driving Car? Testing variations reveal what went wrong YouTube video by Parallel Domain

Fun use of Rerun: www.youtube.com/watch?v=pxRG...

1 year ago 8 1 1 0

The latter. I fear I am one of the few lucky ones who got to witness the rise of the MEGA-ICONS

1 year ago 1 0 0 0
Advertisement

Solved now, unfortunately :(

1 year ago 1 0 1 0
Post image

The new crates.io theme feels a bit unbalanced: crates.io/crates/egui/...

1 year ago 2 0 1 0
Preview
Improve text sharpness by emilk · Pull Request #5838 · emilk/egui This improves the sharpness of text slightly. The difference is very small, but in dark mode (bright text on dark background) text is sometimes significantly sharper, and also slightly brighter. Th...

It's funny how six years in, I'm still finding ways to improving the text quality in egui. But it is really diminishing returns at this point 😆
github.com/emilk/egui/p...

1 year ago 15 1 0 0