foxnne / pixi

Pixel art editor made with Zig.
https://foxnne.github.io/pixi/
MIT License
645 stars 20 forks source link

Allow different pencil cursor sizes #35

Closed foxnne closed 5 months ago

foxnne commented 9 months ago

I haven't really looked into this yet, but it would be really convenient to allow different pencil sizes for larger artwork.

Currently, only the single pixel the cursor is on is drawn. I believe we could track pencil size and allow larger draw areas which expand around the currently hovered pixel.

Just as a note: currently the "preview" of the pixel to be drawn is just an additional hidden layer.

foxnne commented 5 months ago

Handled this here.

Thank you so much @no1hitjam!