Real rotational motion blur on HTML elements? It's now possible thanks to the new HTML in canvas API in Chrome.
Start drawing and animating your elements in WebGPU with our new HTML in canvas animation guide.
We're hacking on something a bit silly billy.
Drop a screen recording of an animation into Motion Eyedropper and using Meta's SAM 2 it'll detect animating objects and fit them to a spring or easing curve.
Split Text in Motion UI just got a big upgrade.
- Preserves nested tags, wrap: balance, kerning
- Text gradient support
- Resize callback
- Improved language and emoji support
- a11y improvements
- React useSplitText API
Still tiny at 2.5kb.
We released Motion FX yesterday, built on the new HTML in canvas API, so I thought I'd do a deeper dive on some of its features.
Starting with lens blur. This lets you set and animate focal plane and depth. Elements are burred according to CSS z depth.
Motion FX brings true motion blur, lens blur and 90s-style depth fog to your existing HTML content.
Wrap your content with <FX> in React, or <motion-fx> in HTML and set your shaders. Content stays completely accessible, with a graceful fallback for older browsers.