You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-animation-worklet-1] Update examples for AnimationWorklet #1174
The publicly available examples are in a broken state with or without the chromium implementation enabled. Cloning locally and replacing a dead rawgit url to an old WAAPI polyfill fixes some examples, others have more problems. The houdini examples repo is archived, so I could not push a fix.
Many of the motivating examples (importantly 2* out of 3 in the draft spec) can be implemented using scroll driven animations, which have shipped in chromium and safari (firefox support should come as a part of INTEROP 2026). This leaves only the "spring" example showing unique functionality of AnimationWorklet.
(2) Is the primary motivation for my question. I was discussing with @kevers-google last week about the state of animation worklet in chromium and neither of us were sure if the feature had a future even now scroll driven animations have shipped, or if the remaining asks could be implemented with extensions to animation-timing-function to give "physics" such as flings / springs / resistance to animations. This would depend on the diversity and complexity of the desired behaviors. The animation worklet spec also goes beyond just "physics," suggesting that generalized input could be animated "natively"/off-main (according to the this note in the draft), which provides a potential group of behaviors not easily addressed by potential incremental extensions to the animations properties and API. However, this case is not defined and there are no public examples to my knowledge.
I'm interested to hear from others what kind of input-driven effects, or generally any complex stateful animation timing that has current usage (implemented by js/framework) or even just developer asks not realized for lack of this feature.
Activity