Rotation Decay
Applies a decay effect to a layer's rotation, gradually reducing its speed.
Code
// Store the initial rotation
initialRotation = value;
// Calculate decay over time
decay = 2.0;
delta = rotation - initialRotation;
initialRotation + delta / (1 + decay * time)
rotationdecayanimation
How to Use
Add this expression to the Rotation property to have your layer slow its rotation over time, creating a natural deceleration effect.