-
Want to use fancy visual effects for your web elements or page? Consider doing it in CSS with the CSS Paint API: You get a canvas context, and can paint anything. Read developers.google.com/web/updates/2018/01/paintapi Possibilities are endless (e.g. ripple effect lab.iamvdo.me/houdini/ripple)
-
…in reply to @steren
In the Ripple example, JS is only used to set a CSS variable on the element with the coordinates of the click and the frame number: github.com/GoogleChromeLabs/houdini-samples/blob/master/paint-worklet/ripple/index.html#L57 The actual painting is done via a paint worklet. DasSurma couldn't the "tick" be updated using a CSS transition instead?