If you want the cleared sections to be not preserved, all you have to do is set keepCleared
to false
; or not set it since it defaults to false
const brusher = new Brusher({
image: 'path/to/image.png',
keepCleared: false,
});
brusher.init();
← Back to Home
Find some of the examples demonstrating some of the options in use through the buttons below.
Keep Cleared Sections Without Background Demo Sticky Blur Demo Different Line Style Github