GSAP is a suite of tools for scripted, high-performance HTML5 animations that work in all major browsers. No other library delivers such advanced sequencing, API efficiency, and tight control while solving real-world problems that animators face. Stop wrestling with cumbersome CSS animations, stuttery jQuery.animate() calls, or a system that limits your creativity. GSAP can animate any numeric property of any JS object, not just CSS properties.
Think of GSAP as the Swiss Army Knife of animation...but better. It animates anything JavaScript can touch (CSS properties, canvas library objects, SVG, generic objects, whatever) and it solves countless browser inconsistencies, all with blazing speed (up to 20x faster than jQuery), including automatic GPU-acceleration of transforms. See the "Why GSAP?" article for details. Most other libraries only animate CSS properties. Plus, their sequencing abilities and runtime controls pale by comparison. Simply put, GSAP is the most flexible high-performance animation library on the planet, which is probably why Google recommends it for JS-based animations. And unlike monolithic frameworks that dictate how you structure your apps, GSAP simply affects the animation layer; sprinkle it wherever you want.
This is the public repository for GreenSock's JavaScript tools like GSAP and Draggable. "GSAP" describes all of the animation-related tools which include TweenLite, TweenMax, TimelineLite, TimelineMax, various plugins (like CSSPlugin for animating CSS properties of DOM elements), extra easing functions, etc.
- GSAP home page
- Getting started guide
- Examples & showcases
- Why GSAP? (a practical guide for developers)
- Full documentation
- Draggable demo
- Animating SVG with GSAP
- jQuery plugin
- Club GreenSock (get access to bonus plugins and tools not in this repository)
- css-tricks.com article: Myth Busting: CSS Animations vs. JavaScript
- css-tricks.com article about how GSAP solves cross-browser SVG animation challenges
Head over to the GreenSock forums which are an excellent resource for learning and getting your questions answered. Report any bugs there too please (it's also fine to file an issue on Github if you prefer)
Copyright (c) 2008-2015, GreenSock. All rights reserved.
License: GreenSock's standard "no charge" license can be viewed at https://greensock.com/standard-license. Club GreenSock members are granted additional rights, as described in the license that comes with their membership. For more information about licensing, see https://greensock.com/licensing/.