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
Stagger
Intermediate Apply a time offset between each element using the stagger option. Supports from: 'start' | 'center' | 'end' | 'random' and custom grid layouts. GSAP Docs
const tl = gsap.timeline({
repeat: -1, repeatDelay: 0.6
});
// Cascade left → right
tl.from(cells, {
scale: 0, opacity: 0, rotation: 90,
duration: 0.5, ease: 'back.out(1.7)',
stagger: {
each: 0.06,
from: 'start',
grid: [5, 5],
},
});
// Pulse from center outward
tl.to(cells, {
scale: 1.25, duration: 0.35,
ease: 'power1.out',
stagger: {
each: 0.04,
from: 'center',
grid: [5, 5],
},
}, '+=0.2');