Utility Methods
GSAP's utility methods can be surprisingly helpful. Note that many of them can optionally return FUNCTIONS so that they can be plugged directly into tweens, leveraging GSAP's function-based capabilities. In that case, they'll get called once for each target rather than just using the same end value for them all.
Video
combining utility methods
Available Utils
checkPrefix |
clamp |
distribute |
getUnit |
interpolate |
mapRange : Number |
normalize |
pipe |
random |
selector |
shuffle |
snap |
splitColor |
toArray |
unitize |
wrap |
wrapYoyo |