Code
GSAP
Tweens
gsap.to(), gsap.from(), gsap.fromTo() — the three core tween methods
Timeline
Sequence and overlap tweens with gsap.timeline() and position parameters
Easing
Visual comparison of built-in ease functions: power, elastic, bounce, back
Stagger
Cascade animations across a grid of elements with the stagger option
ScrollTrigger
Animate elements on scroll with the ScrollTrigger plugin and scrub
MotionPath
Move elements along SVG paths with autoRotate using MotionPathPlugin
FLIP
Smooth layout transitions — capture state, mutate DOM, animate with Flip.from()
Generative Art
Algorithmic particle system with orbital motion, hue cycling, and pulse animations
Easing
Intermediate Six built-in ease functions compared side-by-side. All dots travel the same distance in the same duration — only the motion curve differs. GSAP Docs
none
power2.inOut
elastic.out
bounce.out
back.inOut
circ.inOut
// Same distance, same duration — different feel
const eases = [
'none',
'power2.inOut',
'elastic.out(1, 0.3)',
'bounce.out',
'back.inOut(2.5)',
'circ.inOut',
];
eases.forEach((ease, i) => {
gsap.to(dots[i], {
x: 240,
duration: 1.5,
ease,
repeat: -1,
yoyo: true,
delay: i * 0.15,
});
});