GSAP

What is GreenSock?

It is a JavaScript library for creating high-performance animations that work in every major browser. It delivers advanced sequencing, reliability, API efficiency, and tight control while solving real-world problems. It works around countless browser inconsistencies.

Crazy fast

Performance is paramount, especially on mobile devices with sluggish processors. Silky smooth HTML5 JavaScript animation is the hallmark of any tweening engine worth its weight and GSAP outperforms old “industry standards” by literally 1000%+ under stress. What was jerky and twitchy is now fluid. It’s the result of countless optimizations made to ensure that your interactive projects are responsive, efficient, and buttery smooth. Check out the speed test for a head-to-head comparison.

Freakishly robust

HTML5 JavaScript animation built for professionals, GSAP is packed with features that make most other engines look like cheap toys. Animate colors, beziers, CSS properties, arrays, scrolls and lots more. Round values, smoothly reverse() on the fly, use relative values, automatically accommodate getter/setter functions, employ virtually any easing equation, and manage conflicting tweens like a pro. Define callbacks, tween in seconds or frames, build sequences effortlessly (even with overlapping tweens), repeat/yoyo and more.

Compatible

HTML5, SVG, jQuery, Canvas, CSS, new browsers, old browsers, React, Vue, EaselJS, mobile, and more – GSAP gets along with them famously. Use your favorite tools without jumping through endless hoops to ensure compatibility. It even accommodates various transforms (scale, skew, rotation, x, and y) in modern browsers plus IE back to version 9 without requiring clunky browser prefixes and hacks. We worry about compatibility so that you don’t need to. Another HTML5 JavaScript animation headache solved.

Animate anything

That’s right. Anything. No predefined list of properties to choose from. Any numeric property of any object can be tweened, and if the property needs special handling (like colors, filters, non-numeric values, etc.), chances are there’s a plugin that will do it. If not, one can be created. The possibilities are endless.

Lightweight & expandable

Modular, flexible, and ultra-efficient, its plugin architecture keeps the core engine tight while allowing virtually any feature to be added via optional plugins. GSAP packs an amazing amount of power into a surprisingly small package.

No dependencies

The GSAP isn’t built on top of any 3rd party tools like jQuery (although it works great with jQuery). This approach minimizes load times and maximizes performance.

Advanced sequencing

You’re not limited to “one-after-the-other” sequencing; have animations overlap as much as you want. Nest timelines inside other timelines. Insert gaps, callbacks, labels, staggered tweens, and more. You get precise control over timing and unprecedented flexibility to create expressive animations with minimal code.

Dedicated support

Everybody needs a little help sometimes. We’ve got your back. When deadlines are looming and you can’t figure something out, hop over to greensock.com/forums to get your GreenSock-related questions answered. With a proven track record of active participation by the author and an army of fellow users, GreenSock tools are unlike most open source projects that stagnate or offer zero support.

Permissive license

Completely free for everything except a very specific type of commercial use (reselling to multiple customers), GreenSock’s license makes it extremely accessible and business-friendly while providing a small funding mechanism to sustain ongoing support, enhancement, and innovation. The web is littered with abandoned “open source” projects, but GreenSock has a years-long track record of commitment to the platform.

official greensock.com


src stackshare.io/greensock