Endless Spin
Continuous rotation at a set speed that never needs keyframes and never ends.
Expression Code
// Endless Spin// Apply to Rotationspeed = 90; // Degrees per second (negative = anticlockwise)delay = 0; // Seconds to wait before spinning startst = Math.max(0, time - inPoint - delay);value + t * speed;
Apply to Rotation. The layer rotates at a constant speed forever — loading spinners, gears, fan blades, radar sweeps. Rotation starts at the layer's in point (plus delay) so trimming the layer retimes it. Because it adds to value, you can still offset the starting angle or even add keyframes on top.