An agent skill for web motion · v2

Motion,
verified.

Teach your coding agent to brief → build → animate → refine → render. 19 rules, 11 libraries, every one running live below.

npx skills add yuzhang-ai/web-animation-skill
Move your cursor

Every rule, running live.

16 demos · hover · drag · click

Workflow

MotionPath · DrawSVG

01

GSAP

SplitText · 3D flip

02
Timeline.Stagger.Scrub.Split.
 

Motion

springs × goo filter

04
chase me

View Transitions

native · 0 KB

05
Shared elementheroOne element, two layouts. The browser snapshots both and morphs between them.
Crossfade02Siblings that leave get their old snapshot faded out.
Reorder03Shuffle the DOM; every named tile flies to its new slot.
Resize04Size and position animate together — no FLIP math.
0 KB05document.startViewTransition(update)

Three.js

noise shader · iridescence

06
move to steer · 40k vertices displaced on the GPU

Scroll-driven

view() · 3D drum

08

This browser lacks scroll-driven animations — the list still scrolls (progressive enhancement).

D3.js

attrTween · arcs

09

Konva

verlet rope

13
grab the ball & fling it

Proton

emitters · fireworks · trails

14
move · click to burst

Export

gifenc · in your browser

15
canvas
GIF encoded from the canvas animation.gif
encoding…

Frames are drawn from t, not the clock — so the loop is seamless and the export is deterministic.

Accessible motion

prefers-reduced-motion

16

Every demo on this page has a reduced version.

Loops settle on a still frame, travel becomes a fade, nothing ends up hidden. Follows your OS setting by default.

19 rules · 1 skill · any coding agent

Brief. Build. Animate. Refine. Render.

Not shown: Rive (needs a .riv from the Rive editor — see rive.md). Libraries load from jsDelivr; each card fails on its own if one is blocked.

npx skills add yuzhang-ai/web-animation-skill
Star on GitHub