COAP:COAP-3000/week5: Difference between revisions
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
In this class, we will work with TweenMax. | In this class, we will work with TweenMax. | ||
* Either download it from [ here] or | * Either download it from [https://greensock.com/tweenmax here] or | ||
* include the library as CDN, like this: | * include the library as CDN, like this: | ||
<source lang="HTML5"> | <source lang="HTML5"> |
Revision as of 20:20, 15 April 2018
Monday
Creating animations with the GSAP library
The GreenSock Animation Platform (GSAP) is a powerful and relatively easy to use suite of animation libraries for HTML5. As of April 2018, it includes:
- TweenLite -handles animating just about any property of any object.
- TweenMax - adds some extras.
- TimelineLite a container for tweens to control them as a whole and precisely manage their timing in relation to each other
- TimelineMax - adds some extras.
In this class, we will work with TweenMax.
- Either download it from here or
- include the library as CDN, like this:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js"></script>