-
Animating position without keyframes at a constant velocity.
What I’m wanting to do I think should be easy. I just can’t figure out the “easy” way to do it.
I have an extremely long row of text that i want to animate from left to right at a constant velocity of 1.4 pixels per frame. Because of the nature of the project, I don’t want to do it through keyframes because this composition will be nested inside a parent comp and could be 10 seconds long once and 20 seconds long twice. I’d much rather do it via expressions.
Could someone offer some advice on how to set up the expression? Here’s what I’ve tried and it’s not working:
currentFrame = timeToFrames();
previousTime = framesToTime(currentFrame-1);
sub(position.valueAtTime(previousTime),[1.4,0]);Thanks!
Steve