26 comments

[ 4.1 ms ] story [ 57.2 ms ] thread
The creator of Rerun (Emil Ernerfeldt) also created egui [1], an immediate GUI library for Rust. The library is similar to Dear ImGui but it is written in Rust and can be used for desktop and web apps (compiles to WASM and uses WebGL, demo [2]). Desktop apps can target OpenGL (does not display correct colors on macOS, does not work in VirtualBox on Windows) or WGPU (uses native APIs for each platform, works without any problems, but the binary is a big larger).

[1] https://github.com/emilk/egui [2] https://www.egui.rs/

I’ve used this library fairly extensively and it’s very enjoyable and productive. A hearty thanks to Emil and all the contributors
Egui is great, and the eframe way of writing small apps is so nice!

I cranked out my own custom video player (for tagging video) the other day using it and the ffmpeg bindings. Very pleasant experience.

Looks interesting. Do you have visualizations or examples on debugging audio embeddings (like https://huggingface.co/spaces/facebook/MusicGen) ?
(comment deleted)
No specific support for audio embeddings yet, though depending on you're specific use-case, you might be able to map your data to more generic primitives such a TimeSeriesScalar, LineStrips2D, BarChart, or Tensor.

We have an open issue for adding more support for audio-based projects -- if you have specific needs feel free to add a comment: https://github.com/rerun-io/rerun/issues/2852

I like the styling of the app. It is quite different than default egui styling. If someone is reading that is familiar with the source can you point me to the parts most responsible for the look? (custom components, styling code, etc.) It will just save me a bunch of research. Thx
The `re_ui` crate is responsible for most of the non-default styling. Here's the method where it it gets applied, which probably serves as a good reference for extending the look and feel of an egui application: https://github.com/rerun-io/rerun/blob/release-0.9.0/crates/...
I will start there and see where it leads - thanks!
Any plans to spin it out as an egui UI library?
You can just use the crate. I’m using it in personal projects:

re_ui = "0.6.0"

Interesting. Does that include the UI styling only or also the custom components?

Update: look at rustdoc and I'm not seeing components, or at least not many

i found out about this today unrelated to this post
Cool! Where was that? (I’m on the Rerun team so curious)
Heads up, this blog doesn't seem to work on Safari. I see a couple errors in the console, but the culprit appears to be `SyntaxError: Invalid regular expression: invalid group specifier name`
Thanks for the heads up! Looking into it. Haven't been able to reproduce yet on mobile or desktop safari but that error message helps
> Application error: a client-side exception has occurred (see the browser console for more information).

I’m using the latest Brave (v1.57) on iOS 15.

> Open source. The Rerun OSS project is dual licensed under MIT and Apache 2

Honest question: What does dual licensing MIT + Apache-2.0 accomplish that just Apache-2.0 doesn't?

"Requiring both MIT and Apache 2.0 as inbound licenses for contributions means that anyone making a contribution is providing the Apache 2.0 patent grant. And then having MIT and Apache 2.0 as outbound licenses people can use Rust under means that Rust provides widespread compatibility with all sorts of other FOSS licenses, including GPLv2."

from: https://internals.rust-lang.org/t/rationale-of-apache-dual-l...

I don’t get it. Can some explain this like I was 5.
Great to see continued development of rerun!

I'm a SLAM engineer and work with C++ and ROS1 mainly, so I am exited to see the C++ SDK about to be released. The ROS visualization tools can be a bit crusty, even in ROS2.