Kully / pixel-paint

An art tool for making 32x32 Sprites
https://kully.github.io/pixel-paint/
389 stars 25 forks source link

New Tools: Draw Shapes (rectangle, circle), Line & Line Curve, Flip & Rotate Canvas #31

Open Viet281101 opened 1 month ago

Viet281101 commented 1 month ago

I think these new drawing tools will be very convenient. Specifically, you can quickly draw a rectangle or circle when using these tools. And quickly drawing straight lines connected from the first and last points will also be faster when you use a 'pencil' and applying them is also very easy because we already have the Bresenham algorithm function available.

Viet281101 commented 1 month ago

And also tools that help us rotate and flip the canvas. And I think 90° rotations would be perfect.