Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eraser tool is jumpy #241

Open
JordanMagnuson opened this issue Apr 7, 2021 · 1 comment
Open

Eraser tool is jumpy #241

JordanMagnuson opened this issue Apr 7, 2021 · 1 comment

Comments

@JordanMagnuson
Copy link

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?

@viliusle
Copy link
Owner

viliusle commented Apr 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants