GSAP v12 JavaScript
shortRotation: tweens the rotation in the shortest direction
rotate to 0
rotate to 45
rotate to 90
rotate to 135
rotate to 180
rotate to 225
rotate to 270
rotate to 315