This is a demonstration of the CSS Paint Polyfill.

Note: Currently, both Chrome and this polyfill run Paint Worklets in an isolated context on the main thread.

Source:
demo.js
ripple-worklet.js
style.css