miniPaint
miniPaint copied to clipboard
Eraser tool is jumpy
Currently, depending on canvas size, eraser size, and how quickly you move your mouse, the eraser tool can be very "jumpy" (i.e. does not create a smooth line or erasure, but rather a series of erased circles).
To reproduce: create a large canvas (e.g. 3600x3600), import an image, and then try dragging the eraser quickly across the image: a series of erased circles is created, rather than one smooth erasure.
By contrast, the paintbrush tool creates a smooth brushstroke no matter what the canvas size, or how quickly you move your mouse. Would it be possible for the eraser tool to somehow mimic how the paintbrush tool works?
p.s. paintbrush is not activated live, but processed during rendering by removing some points, and drawing curves for what is left. I was really trying hard to make brush nice :) Erase effect is instant. Maybe it can be done, but that is not easy.
Solution should be just simple not jumpy path if user is moving mouse fast, should not be hard to implement.