Animating the rotation, scale, skew, and position of SVG elements via CSS has been completely impractical due to major browser inconsistencies...until now. GreenSock's CSSPlugin handles major bugs and inconsistencies across a wide range of modern browsers, making it easy for you to animate SVG elements exactly like regular DOM elements... even in IE.
I'm going to take a deeper look into CSS Animations and how they fit (or don't fit) into a modern animator's workflow. You'll see exactly where some of the pain points are for a typical project and how they can bring your workflow to a grinding halt.
Making a DOM element draggable isn't terribly difficult - there are jQuery plugins and even some native HTML5 capabilities in newer browsers. But generic dragging is kinda boring. What about smooth, natural momentum-based continuation after the user releases the mouse (or touch on mobile devices)? What about imposing bounds and edge resistance and silky-smooth redirection to certain landing values that you provide? Or flick/drag scrolling with bounce-back that doesn't look awkward? Or instead of dragging to change the position of an element, what if you want to spin it? Maybe you even want to track the momentum and let it come to rest naturally or rig it to glide to a stop at a certain value, Wheel-of-Fortune style? Yeah, that's a lot more complex. In fact, it can be a real drag to build (sorry, the pun was irresistible).
We're excited to announce several new features in the GreenSock Animation Platform (GSAP) 1.12.0 that will increase not only "real" performance, but "perceived" performance as well. The innovative lagSmoothing() feature allows GSAP to automatically heal from CPU spikes that cause lag, all while maintaining perfect synchronization between all animations. And the new "lazy" rendering helps avoid layout thrashing when many animations start simultaneously.
“ @greensock is just pure awesomeness. What more can be said? ”
Jeff Batt, @jeffbatt01
“ Really quite impressed with @GreenSock JS - even the small things. ”
Joseph Labrecque, @JosephLabrecque
“ GSAP makes my job fun, because it allows me to focus on creating rich, engaging web experiences, while GSAP handles much of the implementation details behind the scenes. ”
“ If every library were as robust and reliable as GreenSock’s, the world would be a much better place for software engineers and their clients. I can't think of a better designed or better performing tool, and as a bonus, it's fun as heck to play with. ”
“ GreenSock is the best thing that happened to SVG animations since SVG animations. ”
“ I am more and more amazed every day, and very glad that I decided to get a business license. ”
“ Go and browse through FWA or Awwwards, then view source of anything you see that has cool animation and you will be surprised how widely GSAP is used. ”
“ @greensock it’s a great library that many people love, and I know you care deeply about performance :) ”
Paul Lewis, @aerotwist
“ I think I love GreenSock as much as bacon. ”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Just a few of the companies that rely on GreenSock products every day.