Position Speed Control
Gives you direct control over layer speed along a chosen direction.
Code
speed = 100; // pixels per second
angle = 0; // 0 degrees = move horizontally
r = degreesToRadians(angle);
[ value[0] + Math.cos(r)*time*speed, value[1] + Math.sin(r)*time*speed ]
speedpositionanimationafter effects
How to Use
Apply to the Position property. Tweak `speed` and `angle` to set velocity and direction of movement. Good for linear pans or scrolling elements.