Brush Smoothing Option!

Hello, I’ve been using Wick Editor and had a thought.

Wick Editor is really amazing since it could run on mobile and even the web unlike other similar programs.
But I think that’s what makes the optimization problem even more serious.
In all versions of the program, moving the brush quickly causes the strokes to become angular.
I think this could be solved much more easily. Because it’s a feature already in use in this program.


:bulb:
Let me explain by mentioning a feature of the program I think is most similar. I’d like to see ‘smoothing’ feature of Macromedia Flash that allows you to set the smoothness of a brush stroke before drawing it.
To emphasize, not Adobe Animate; they’re slightly different.
As you can see, the lines in Wick are smoothed after drawing. This is very similar to setting the smoothing to 100 in Animate. However, this isn’t enough. Unlike Animate, old Flash could achieve even smoother lines by setting the smoothness to 100. To achieve even smoother lines in Animate now, you have to press the smooth button in Smooth and Straighten Tools, which is a hassle.(These tools are also available in Flash.)
To clarify, I’ll attach a video.
https://www.youtube.com/watch?v=E91tFbl5fW4

Please provide a slider control to control the smoothness of strokes, like this video.
Honestly, the main reason I’m not satisfied with Wick’s default brush and Animate’s Smoothing 100 brush is that the strokes aren’t sharp at the in and out. They never easily create sharp tips. These strokes are amateurish and not really interesting.
Flash has fallen asleep, and for some reason Animate has abandoned this powerful feature and will soon be leaving us. Perhaps your opportunity has arrived! Please consider it!

i think this feature already exists

i pretty sure its this slider in the brush

1 Like

though i couldnt get the video to load
watching it now
that slider is more of a stabilizer
sorry

2 Likes

i do wanna make some bigger changes to the brush one day, but with the current implementation there isn’t much that can be done about the smoothening of the brush after the mouse goes up.

aside from the stabilizer, the only thing i am aware of for smoothing out stuff is this thing in potrace (one of the libraries wick uses to make brushes work). there’s this alphaMax value i can set by hardcoding it in the brush code, and if i set them to opposite sides of the spectrum it gets you something between “no curves at all” and “as rounded as possible”.
44023 99213

to be fair i’m not fully versed in potrace (it’s very very deprecated and the documentation is a little painful), but i did spend weekends burning my eyes out trying to understand it last calendar year.

i also know that paper.js has some kind of path simplifying algorithm, which if i’m not mistaken is very close to the smoothening button shown in the video. this might actually be already used for the pencil tool when drawing? i have no idea.

1 Like

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

omgg I don’t know much about coding but I think what you said is probably right!! It should work for the pencil tool, and the brushes should be created with two parts: an inner and an outer part. by the way this site is amazing thanks for sharing :D