The performance gains of the GreenSock animation engine are pretty dramatic.
What underlying architectural decisions and trade-offs is this library making to achieve such gains? In particular, what is this engine doing different than jQuery animate?
Animation can help make a site feel faster and responsive, but animations can also make a site feel slower and janky if not done correctly. Responsive user interfaces have a frame rate of 60 frames per second (fps).
But, for more complex or advanced effects, JavaScript is a better tool. It goes without saying that using JavaScript to create animations is more challenging than using CSS. Nevertheless, JavaScript can handle things that CSS can't.
Too much motion can slow down the loading of a web page. Too many animations prevent visitors from knowing which parts of the page to focus on. Website animation doesn't always translate well to mobile, which leads to poor experiences.
GSAP is yet another powerful animation library built on HTML5 and JavaScript. It ensures that animations run smoothly on modern web browsers and HTML5 solutions by binding multiple animation properties and eliminating browser bugs.
great answer here from the folks at greensock:
More here: http://forums.greensock.com/topic/9346-how-does-greensock-perform-better-than-other-solutions-for-animation/#entry37777
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With