properties • Part of CSS3 How to use them: • Define styles at certain intervals • Apply the keyframe to the element you want to animate • Must give a duration • Can set properties like: delay, direction, iteration count, etc…
simply • Faster than jQuery or Javascript • Good for simple transitions between states The Bad: • Cannot animate in response to user interaction (like on click, or swipe) • Lack of independent scale/rotation/position control • Limited effects: animating along a curve, animating scroll position, etc • Compatibility: doesn’t work in IE9 or earlier
scroll effects (ScrollLeft) • Relatively simple • Plug-ins that help you build more advanced animation The Bad: • Cannot animate most non-numeric CSS properties like background color • Browser compatibility is still an issue • SLOW (usually a lot slower than CSS ) which leads to poor user experience
• Compliant with OpenGL ES 2.0 • Works within the <canvas> element • Supported by most modern browsers • Libraries (three.js) make dev easier Bad: • Very complex • Device limitations
skew, and rotation in all moderns and even IE going back to version 6 • No dependencies (ie. jQuery) • Speed! ◦ 20x faster than jQuery ◦ Even fast on mobile devices ◦ Faster than even CSS on most devices and browsers tested GSAP The Bad: • Some gotchas (ie. can’t animate display) • Cross-browser bugs • Must be explicit about beginning & ending animation states • Familiarity with SVGs seems necessary • Not all plugins are free