Intro to GSAP
Carl Schooff: Geek Ambassador
Support
Docs / Videos / Demos
Training
1998
2010
Founder and Author of GSAP.
Built a tweening engine because he needed one.
Shared it with the community.
Support became a full-time job.
GSAP was crafted to meet the specific needs of professional animators.
Inspire - show you what's possible.
Educate - show you how to do it.
JWPmbaFe rfgId0yApcCk2
div {
width: 100px;
height: 100px;
background: red;
transition: width 1s, background 1s;
}
div:hover {
background:green;
width:300px;
}
@keyframes rectangle {
0% {transform:translate(0, 0);}
25%{transform:translate(200px, 0);}
50%{transform:translate(200px, 200px);}
75%{transform:translate(0, 200px);}
100%{transfrom:translate(0, 0);}
}
As you layer and connect animations, the level of complexity requires a lot of planning and experimentation.
- One Design System
CORE
TweenLite
TweenMax
TimelineLite
TimelineMax
PLUGINS
CSSPlugin
MorphSVG
DrawSVG
AttrPlugin
Physics2D
ScrambleText
more...
UTILITIES
SplitText
Draggable
EASES
CustomEase
CustomBounce
CustomWiggle
more...
TweenLite
TweenMax
TimelineLite
TimelineMax
CSSPlugin
AttrPlugin
RoundPropsPlugin
DirectionalRotationPlugin
BezierPlugin
EasePack
TweenMax.to(".logo", 1, {x:300, onComplete:done});
Use the demo above to test your own CustomEase
<svg x="0px" y="0px" viewBox="0 0 570 150">
<circle fill="none" cx="71.5" cy="77.5" r="50" stroke="blue" stroke-width="4"/>
<rect fill="red" x="150" y="26" width="103" height="103" />
</svg>
Animate SVG strokes with precision
Demo: Staggered animations using cycle
No dependencies (other libs or rendering layer)
Plugin architecture
Support and documentation
Funded – not a side project or hobby
Used on over 3 million sites
Majority of award-winning sites use GSAP (report)
Universally adopted on every major ad network