PixelCraft icon indicating copy to clipboard operation
PixelCraft copied to clipboard

Oval tool filling pixels incorrectly for oblong shapes

Open Cody811 opened this issue 4 years ago • 1 comments

The oval shape is filling incorrect pixels along the X axis

X=2 Y=1 image

X=5, Y=1 image

X=6, Y=3 image

Y=3. X=6 image

Cody811 avatar Jan 20 '21 08:01 Cody811

@Cody811 Might be an issue in algorithm, we will fix it, Thanks.

https://github.com/rgab1508/PixelCraft/blob/cf69d934483dbd06e8b4e7b8dd7190823fb8f9f1/lib/Shapes.js#L134

theabbie avatar Jan 20 '21 08:01 theabbie