This content originally appeared on Blog and was authored by Blog
You may be surprised by how much work GSAP does under the hood to make animating transforms intuitive and performant. This video explains the top 10 reasons you should be using GSAP to animate transform-related values like scale, rotation, x, y, etc.
Watch the video
- Independent control of each component (x, y, scaleX, scaleY, rotation, etc.)
- Physics-based animations and dragging, plus advanced easing like Elastic and Bounce
- Snap to any increment or set of values
-
Query values anytime with
_gsTransform
-
Relative values (
"+="
and"-="
) - Directional rotation (clockwise, counter-clockwise, or shortest)
-
Two different skew types (
"compensated"
and"simple"
) - Consistency across browsers, especially with SVG
- Animate along a path
- Sequencing and on-the-fly controls
All of these features are baked into CSSPlugin (which is included inside TweenMax). See the docs for more information. Happy tweening!
This content originally appeared on Blog and was authored by Blog
Blog | Sciencx (2019-05-23T20:45:17+00:00) Top 10 Reasons to use GSAP to Animate Transforms. Retrieved from https://www.scien.cx/2019/05/23/top-10-reasons-to-use-gsap-to-animate-transforms/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.