fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#egui

0 posts0 participants0 posts today

Hacked on the thing a bit today. Changed the UI library to egui and added the listing and validation of playlist contents.

Apart from the occasional fight with the borrow checker, having quite a bit of fun.

Replied in thread

@tuban_muzuru An alternative to egui would be a frontend framework like Yew or Dioxus, which would let you interact with the DOM.

However, as long as you don't want accessibility support, I think egui is pretty stable and a good option for more app-based websites.

Edit: Yew is dead so try another one here: github.com/flosse/rust-web-fra

A comparison of some web frameworks and libs written in Rust - flosse/rust-web-framework-comparison
GitHubGitHub - flosse/rust-web-framework-comparison: A comparison of some web frameworks and libs written in RustA comparison of some web frameworks and libs written in Rust - flosse/rust-web-framework-comparison
#egui#rust#rustlang

Updated node connections in the video mixer / synthesizer.

Before, on changing the output size of a node, the connection broke and had to be recreated. Changing the resolution of many nodes was an annoyance. Especially with mixer connections, which have some own values.

It is now streamlined much more and the resolution of any node can be changed at any time without the need to reconnect.

gitlab.freedesktop.org/AdeptVe

GitLabAdept Veritatis / pw-videomix · GitLabfreedesktop.org GitLab login
Continued thread

my plan for this is to eventually add another backend for the layout logic, maybe based on #egui or maybe #webgpu directly, and port the tui apps to gui in one fell swoop!

(anyone feel like pulling this one off is more than welcome to try! same apps in tui and gui - how cool would that be?)

Replied in thread

@rust_discussions

Nice article.

Missed #egui / eframe in the list of game frameworks. It also comes with #vulkano and #wgpu bindings (3rd party).

I use egui + winit + vulkano in a video mixer / synthesizer app:
gitlab.freedesktop.org/AdeptVe

And eframe + wgpu in a sign language dictionary app:
gitlab.freedesktop.org/AdeptVe

Both have a surprisingly good performance for being that unoptimized (not even using buffer pools).

GitLabAdept Veritatis / pw-videomix · GitLabfreedesktop.org GitLab login

Implemented control nodes in my video mixer / synthesizer. A Max/MSP like system to bind and change values.

There is a number node, which can do basic math (+,-,*,/).

A trigonometry node to get sine and cosine from an input value.

And a function generator node, which creates low frequency sine, cosine, square, steps, saw and triangle waves.

You can bind them to almost any value.

gitlab.freedesktop.org/AdeptVe

GitLabAdept Veritatis / pw-videomix · GitLabfreedesktop.org GitLab login

LiSA - Sign Language Learning App

Some updates of recent ideas and source code changes. New version may come soon.

You can choose categories now (colors, numbers, alphabet, prepositions, ...). This is better than splitting the signs over multiple files.

Didn't add many new signs, because I had to think about some problems before.

1/x

#rustlang #egui question: I try to build a side panel with thumbnails for this toy app. I want the thumbnails to fill the whole width of the ScrollArea there're in, but currently they shrink when reaching to bottom of the frame instead of expanding the ScrollAera (I have 10 images here, 4 shown correctly, incorrectly 1 down-scalled, 5 not shown with a size of 0...).
If I use .fit_to_exact_size() it works as insteded except that they don't fill the whole width anymore...

Continued thread

Now I can concentrate to work on the dictionary again to add more signs. I completely stopped that until the model was finished.

The alphabet for french is still incomplete. Will release a new version, once this is done.

And I added an option to switch to another like and . But only the letter 'A' is available in the dictionary for both yet. Still interesting to be able to switch.

gitlab.freedesktop.org/AdeptVe

GitLabAdept Veritatis / LiSA · GitLabfreedesktop.org GitLab login