Location:Home > JS special effects code > Selection and screening

Scratch award special effects jquery.eraser eraser plugin

2020-06-25 219views
jquery.eraser is a plug-in that uses a mouse or touch to erase the real picture on the canvas. The principle of the jquery.eraser plug-in is to use a canvas to cover the picture, and then erase the picture on the canvas according to touch or mouse input. You can specify a callback function in the parameter to set the brush size.