this post was submitted on 31 Dec 2025
20 points (100.0% liked)

Rust

7643 readers
45 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

Hey everyone,

Basically the title. I'd like to learn how to make my own drawing program and I'm slightly surprised that I can't seem to find anything about it. No tutorials or discussions about requirements or just general tutorials.

Does anyone have any recommendations on where I could start?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] fluxx@lemmy.world 6 points 1 week ago (1 children)

It is a very broad topic, you didn't specify what kind of a drawing program you'd want to make. If it's a simple raster drawing, like mspaint used to be, it is not that complicated to make. But complexity quickly adds up - filters, transforms, brushes, layers - it grows in complexity quickly. The easiest GUI in rust I found so far is egui. It provides an immediate mode for drawing graphics that is really simple to grasp very quickly. If it is the best in the long run is questionable, but to get your feet wet - I'd say is perfect

Yeah it's something I'd like to model after more complicated applications with transforms, layer effects, different brushes, etc. but I'm not looking to do that from the get go. At the beginning, probably just more similar to what ms paint used to be.

I'll take a look at egui, thanks!