Preserve Cleared

If you want brusher to preserve the cleared sections, set keepCleared to true

const brusher = new Brusher({
  image: 'path/to/image.png',
  keepCleared: true,
});

brusher.init();
← Back to Home

Examples

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