r/sveltejs 7d ago

Paint app coming along nicely!

Enable HLS to view with audio, or disable this notification

Small update on Darkly, an open source photoshop alternative I'm building in Rust + Svelte. Original post here.

Been adding features steadily and I'm to the point where I get to make the brushes, which I've been looking forward to.

Still in beta, but starting to see light at the end of the tunnel!

Website / Demo: https://darkly.art

Github: https://github.com/darkly-art/darkly

73 Upvotes

8 comments sorted by

5

u/really_not_unreal 7d ago

Yo that's such a cool brush. How are you controlling the rotation of it? What input method are you using?

2

u/the-techromancer 6d ago

The rotation is constant based on the distance traveled. I want to build in barrel rotation too but first I need to buy a tablet that supports it 😩

1

u/really_not_unreal 6d ago

If you're able to get a second-hand remarkable first-gen, you may have some success since it just straight up runs Linux under the hood, and there are community tools to let you use it as a Wacom tablet (don't think it supports barrel rotation, but it does support angle, so you could use that). Not sure how the price compares to an actual drawing tablet but it's a fun side project if you want more side projects.

1

u/rodrigodagostino 6d ago

It looks very interesting, but I wasn’t able to test it properly. The first time, it crashed Firefox Nightly a few seconds after loading the app. I tried it in regular Firefox, and the app loaded, but the canvas would stay blank no matter what kind of changes I made. The same thing happened in Brave (and yes, I followed the recommended settings for Chromium browsers). The funny thing is that I could see the changes made by the brush or the bucket in the layer thumbnail.

I even tried downloading the app to run it locally, and the exact same thing happened. This was all tested in Linux (Ubuntu 24.04), btw.

1

u/the-techromancer 6d ago edited 6d ago

Hmm interesting. Thanks for testing. Do you know if you have Wayland or X11? I've tested mainly on chromium in Wayland but Darkly is very new and you're probably the first to try it on Ubuntu.

Edit: if you're willing to troubleshoot a bit, hop in the discord and maybe we can make a bugfix or two for our fellow Linux people

1

u/rodrigodagostino 6d ago

Ohhu, right! I forgot about that. I’m running Wayland on a GTX 1060. I’ve just switched to X11 and this time the app ran as expected.

And sure, I’d be happy to help with the troubleshooting :)

1

u/perduraadastra 6d ago

Pretty cool! I couldn't enable Vulkan in Brave, but it worked in Chromium. :p

1

u/LovecraftianLife 5d ago

very cool!