[Solved] How to draw a freeform line with Shape Painter so that it has no interruptions

Hello everyone, I will be brief and clear in the explanation.
There is a code like this:


The problem is that if you draw a curved line, such gaps and holes will form, call it what you want:

I want the line to be beautiful, without these “holes”, as in this example (clean canvas):

Thanks for any help, I’ve tried a lot already.

1 Like

Perhaps you could try using circles instead of lines? Maybe you could cobble up something that said “for the first few pixels, use lines, for the others, use circles”.
I suppose you could also use thicker lines.

2 Likes

@Sciller4 , thanks a lot, helped, here is the solution:

Amendment, the issue is not resolved, the method above is very resource intensive by creating hundreds of circles, how can I restrict the creation of circles so that they are not created on top of each other?

1 Like

Don’t draw a circle. Create a circle sprite, and place it at the cursor position. Scale it to resize it.

The question is settled, this extension allows you to optimize resource consumption by saving a line to a sprite and then removing the line.
https://drive.google.com/drive/folders/1TbTAIARiPFA7u-4hDVcVDbVIviq_aKj8?usp=sharing