Jump to content
Search Community

QuickTip: Directional Rotation


| GreenSock
29800

Note: This page was created for GSAP version 2. We have since released GSAP 3 with many improvements. While it is backward compatible with most GSAP 2 features, some parts may need to be updated to work properly. Please see the GSAP 3 release notes for details.

With some animation engines it can be frustrating trying to get something to rotate in a specific direction. With GSAP you can explicitly set the direction or let GSAP figure out the shortest distance.

Watch the video

Interactive demo

See the Pen DirectionalRotation Visualizer by GreenSock (@GreenSock) on CodePen.

Check out the DirectionalRotation Plugin docs for more info.

Get an all-access pass to premium plugins, offers, and more!

Join the Club

Cook up some delightful animation today with a generous dose of GSAP.

- Team GreenSock



User Feedback

Recommended Comments

There are no comments to display.



Guest
This is now closed for further comments

×
×
  • Create New...