You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We would like to implement a classic eraser functionality that can erase "real time".
Describe the solution you'd like
When freehand drawing in erase mode (= globalComposteOperation set to "destination-out" on the path) over an existing drawing, the erasing should be applied "real time", so onMouseMove, not onMouseUp.
Describe alternatives you've considered
set "globalCompositeOperation" to "destination-out" on the brush
apply the erase path intermediate (onMouseMove)
apply the erasing on the "main" canvas, and not on the topcanvas (most plausible idea ?)
Additional context
image a: onMouseOver while erasing.
image b: erased after onMouseUp.
The text was updated successfully, but these errors were encountered:
TomVanHaver
changed the title
freehand eraser function
freehand eraser with real time erasing
Jun 6, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
We would like to implement a classic eraser functionality that can erase "real time".
Describe the solution you'd like
When freehand drawing in erase mode (= globalComposteOperation set to "destination-out" on the path) over an existing drawing, the erasing should be applied "real time", so onMouseMove, not onMouseUp.
Describe alternatives you've considered
Additional context
image a: onMouseOver while erasing.
image b: erased after onMouseUp.
The text was updated successfully, but these errors were encountered: