https://futureofcoding.org/ logo
Title
r

Ryo Hirayama

05/26/2022, 3:50 AM
I’ve released a widget library for the visual programming editor of Desk. It's also generic and extensible widget for any purpose. You can create node-based or analog synthesizer-like UI with simple API. https://github.com/ryo33/egui_cable
❤️ 4
i

Ivan Reese

05/26/2022, 4:03 AM
Nice! This is my first contact with the term "egui" — what does it mean?
r

Ryo Hirayama

05/26/2022, 4:06 AM
egui is an amazing library for backend-agnostic widget rendering written in Rust.
egui is amazing for easy to use, customizable, and nice performance.
c

Chris Maughan

05/26/2022, 9:49 AM
Wow, that's an impressive looking library.
r

Ryo Hirayama

05/26/2022, 9:53 AM
Yes, I believe this has a potential to be used everywhere in the near future.
j

Jason Morris

05/26/2022, 10:49 PM
That is very cool @Ryo Hirayama. Can you annotate the wires?
r

Ryo Hirayama

05/27/2022, 12:35 AM
Yes! The next TODO is a custom look of ports, plugs, and cables, and it can be done soon.
j

Jason Morris

05/27/2022, 12:39 AM
Nice. I think there's probably a sort of nested box, node and wire approach that could be used for expressing declarative rules, which would interesting to prototype as an alternative to the method we are using now.
r

Ryo Hirayama

05/27/2022, 12:54 AM
I don't get your point. Do you have any example of "a sort of nested box, node and wire approach" and "declarative rules"?
j

Jason Morris

05/27/2022, 3:06 AM
I will attempt to draw a picture when I get a chance.
r

Ryo Hirayama

05/27/2022, 3:07 AM
Thanks
s

Souler T

06/07/2022, 12:32 PM
@Ryo Hirayama Hi, do you know any javascript equivalent of this tool? I tried googling wire connection ui but didn't find something related.
r

Ryo Hirayama

06/07/2022, 12:37 PM
@Souler T egui_cable is not JavaScript, but actually, it runs in a browser (on a canvas)! It’s really easy to create a web app with egui.
s

Souler T

06/07/2022, 12:42 PM
wow didn't know that. Is it still needed to learn rust to use this tool? Any plan for api support to call in other languages?
i just checked the egui github repo. looks really smooth and nice!
r

Ryo Hirayama

06/07/2022, 12:51 PM
I don't plan API support for other language. Writing GUI app with egui only requires really simple and easy Rust codes, and rust-analyzer, a Rust language server for great IDE experience is really helpful. So IMO it’s easier than writing equivalent application in JavaScript with using React or something.
s

Souler T

06/07/2022, 12:55 PM
Gotcha. thanks for your reply!
r

Ryo Hirayama

06/07/2022, 12:56 PM
Glad I could help!