05-11-2021, 12:31 PM
(05-11-2021, 08:40 AM)Ofnuts Wrote: Can reproduce, but this isn't the script. When you stroke a path, the brush is centered on the path. If you path has integer coordinates, if falls "between the pixels" so the brush cannot paint fully colored pixels and it has to do approximations. A works around is to put your path anchors on the center of pixels.
But for this specific pattern, it would be much better to stroke in Line mode with a dash pattern, once for the yellow and once for the black.
I wouldn't know what it means to have "integer coordinates", I can only guess what that could mean.
The path used is a 2048px line, a multiple of the brush width.
In most experiments I used brushes whose widths were multiples of 128px (8; 16; 60; 128).
Oui, I could have achieved this result in different ways, but I wanted to do it using this plug-in.
In the attached .XCF there is a comparison of the result obtained using:
• Brush Stroke on path - 35 stroke;
• Edit - Stroke path (presented a change in the height of one of the strokes);
• Brush Stroke on path - 60 spacing;
• Follow Path with perspective brush;
• Ctrl + Shift Brush;
• Edit - Stroke path.
"A works around is to put your path anchors on the center of pixels." - I have no idea how that would be done.