20

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

Art. Raster specifically, not looking to do vector at the moment.

[-] VaxHacker@programming.dev 3 points 8 hours ago

There are a few basic things you need to sort out first. Keep it as simple as possible so start monochrome, and just add functionality to draw dots on a canvas. You'll need file handling capability almost immediately so figure out a way to (de-)serialise the information to recreate the artwork to read and write it to a file.

That'll keep you going for a few weeks, unless you're vibing it ~~in which case months~~ by which point you might have had other ideas of features to add, assuming you already know how to write GUI applications.

Interesting point about monochrome. If I remember correctly though, pixels are rendered with rgba values right? So does monochrome do anything programmatically different than color? Or maybe grayscale does?

And no, i'm not vibing this...i want to learn how to do this myself and not just regurgitate some hallucinated bullshit.

I am lacking in how to write GUI applications without using a game engine. I used a lot of Unity with C# and way before that I was using actionscript with Flash lol but other than a handful of WPF apps and WinForms with Powershell I haven't done straight GUI applications.

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

Rust

7628 readers
140 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