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.
Recommended Comments
There are no comments to display.