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).
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.
With the release of iOS 7, I was anticipating some big leaps forward in browser performance. What I found was quite surprising. Is anyone else experiencing the same thing? Here's a quick [and very casual] video showing what I discovered:
“ GreenSock is the best thing that happened to SVG animations since SVG animations. ”
“ Aside from GreenSock’s laser-focused attention to detail, GSAP is fast, reliable, flexible, exceptional value (read: free in most cases) and, very importantly, supported. ”
“ Really quite impressed with @GreenSock JS - even the small things. ”
Joseph Labrecque, @JosephLabrecque
“ @greensock is just pure awesomeness. What more can be said? ”
Jeff Batt, @jeffbatt01
“ 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. ”
“ This stuff is so incredibly amazing I can't believe it. The level of details and options put into these things and the natural instinct GreenSock has for solving everyday problems is impressive. ”
Jens Ahrengot Boddum
“ GreenSock has encouraged me to play with the code, to dream up new and exciting things to do. ”
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.