
Gsap Greensock
- 504 installs
- 68 repo stars
- Updated December 30, 2025
- dylantarre/animation-principles
gsap-greensock is a Claude Code agent skill that maps Disney's 12 animation principles to GSAP timeline and tween patterns for developers who need expressive, professionally timed web motion.
About
gsap-greensock is an agent skill in the dylantarre/animation-principles repository that translates all 12 Disney animation principles into copy-paste GSAP JavaScript for timelines, tweens, easing, stagger, and motionPath arcs. Each principle section ships runnable snippets—squash-and-stretch via scaleX/scaleY, anticipation through sequenced timeline segments, follow-through with "<" and "-=0.4" overlap, and arcs via motionPath keyframes—plus a master-timeline pattern composing anticipation, main action, and follow-through sub-timelines. Developers reach for gsap-greensock when building marketing sites, games, or product UIs that need characterful motion beyond basic CSS transitions and already know what squash, staging, and exaggeration should look like visually. The reference documents 30+ built-in GSAP easing functions and six core API features. Install with npx skills add dylantarre/animation-principles --skill gsap-greensock.
- Master timeline composition
- ScrollTrigger scrubbing
- SVG morph and draw paths
- Performance-conscious transforms
- Plugin ecosystem patterns
Gsap Greensock by the numbers
- 504 all-time installs (skills.sh)
- Ranked #622 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dylantarre/animation-principles --skill gsap-greensockAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 504 |
|---|---|
| repo stars | ★ 68 |
| Last updated | December 30, 2025 |
| Repository | dylantarre/animation-principles ↗ |
How do you implement Disney animation principles with GSAP?
Build GSAP timelines, ScrollTrigger scenes, and complex SVG or canvas sequences for award-style sites, games, and marketing experiences needing precise professional control.
Who is it for?
Frontend developers implementing characterful UI motion who already understand Disney's 12 principles visually and need exact GSAP syntax.
Skip if: Developers seeking ScrollTrigger scroll-scene docs or a from-scratch GSAP API tutorial without animation-design framing should use greensock/gsap-skills instead.
When should I use this skill?
User requests GSAP timelines, Disney animation principles, squash-and-stretch, anticipation sequences, follow-through overlap, or motionPath arcs in JavaScript.
What you get
GSAP timeline scripts, per-principle tween configs, motionPath arc animations, and a reusable master-timeline composition pattern
- GSAP timeline JavaScript
- Per-principle tween configurations
- motionPath arc animation code
By the numbers
- Covers all 12 Disney animation principles with dedicated GSAP code examples
- Documents 30+ built-in GSAP easing functions in the reference section
- Lists 6 core GSAP API features: timeline, ease, stagger, motionPath, yoyo/repeat, and position parameters
Files
GSAP Animation Principles
Implement all 12 Disney animation principles using GSAP's powerful timeline and tween system.
1. Squash and Stretch
gsap.to(".ball", {
scaleX: 1.2,
scaleY: 0.8,
yoyo: true,
repeat: 1,
duration: 0.15,
ease: "power2.inOut"
});2. Anticipation
const tl = gsap.timeline();
tl.to(".character", { y: 20, scaleY: 0.9, duration: 0.2 }) // wind up
.to(".character", { y: -200, duration: 0.4, ease: "power2.out" }); // action3. Staging
gsap.to(".background", { filter: "blur(3px)", opacity: 0.6 });
gsap.to(".hero", { scale: 1.1, zIndex: 10 });4. Straight Ahead / Pose to Pose
// Pose to pose with explicit keyframes
gsap.to(".sprite", {
keyframes: [
{ x: 0, y: 0 },
{ x: 100, y: -50 },
{ x: 200, y: 0 },
{ x: 300, y: -30 }
],
duration: 1
});5. Follow Through and Overlapping Action
const tl = gsap.timeline();
tl.to(".body", { x: 200, duration: 0.5 })
.to(".hair", { x: 200, duration: 0.5 }, "-=0.4") // overlaps
.to(".cape", { x: 200, duration: 0.6 }, "-=0.45"); // more drag6. Slow In and Slow Out
gsap.to(".element", {
x: 300,
duration: 0.6,
ease: "power2.inOut" // slow in and out
});
// Other eases: "power3.in", "power3.out", "elastic.out"7. Arc
gsap.to(".ball", {
motionPath: {
path: [{ x: 0, y: 0 }, { x: 100, y: -100 }, { x: 200, y: 0 }],
curviness: 1.5
},
duration: 1
});8. Secondary Action
const tl = gsap.timeline();
tl.to(".button", { scale: 1.1, duration: 0.2 })
.to(".icon", { rotation: 15, duration: 0.15 }, "<") // same time
.to(".particles", { opacity: 1, stagger: 0.05 }, "<0.1");9. Timing
// Fast snap
gsap.to(".fast", { x: 100, duration: 0.15 });
// Gentle float
gsap.to(".slow", { y: -20, duration: 2, ease: "sine.inOut", yoyo: true, repeat: -1 });10. Exaggeration
gsap.to(".element", {
scale: 1.5, // exaggerated scale
rotation: 720, // multiple spins
duration: 0.8,
ease: "back.out(2)" // overshoot
});11. Solid Drawing
gsap.to(".box", {
rotationX: 45,
rotationY: 30,
transformPerspective: 1000,
duration: 0.5
});12. Appeal
gsap.to(".card", {
scale: 1.02,
boxShadow: "0 20px 40px rgba(0,0,0,0.2)",
duration: 0.3,
ease: "power1.out"
});GSAP Timeline Pattern
const masterTL = gsap.timeline({ defaults: { ease: "power2.out" }});
masterTL
.add(anticipation())
.add(mainAction())
.add(followThrough());Key GSAP Features
gsap.timeline()- Sequence animationsease- 30+ built-in easing functionsstagger- Offset multiple elementsmotionPath- Arc and path animationsyoyo/repeat- Loop control"<"/"-=0.2"- Position parameter for overlap
Related skills
How it compares
Pick gsap-greensock when motion must follow Disney's 12 principles; pick greensock/gsap-skills for ScrollTrigger, plugins, and framework integration reference.
FAQ
What does the gsap-greensock skill cover?
gsap-greensock maps all 12 Disney animation principles—squash and stretch, anticipation, staging, follow-through, arcs, exaggeration, and appeal—to concrete GSAP JavaScript snippets using gsap.to(), gsap.timeline(), motionPath, stagger, and position-parameter overlap.
How do you install gsap-greensock for Claude Code?
Install gsap-greensock with npx skills add dylantarre/animation-principles --skill gsap-greensock, or clone the animation-principles repo into your agent plugins directory and select the gsap-greensock skill file.
Does gsap-greensock teach GSAP from scratch?
gsap-greensock assumes you already know what Disney's 12 principles look like visually and focuses on GSAP API translation—scale tweens, timeline sequencing, motionPath arcs, and easing—not foundational animation theory or ScrollTrigger scroll scenes.