Page 1 of 1

Exponential increase in speed of a layer/camera

Posted: July 4th, 2005, 4:42 pm
by nic_a_lie
Hi All,

I have set up a camera attached to a null to go through a series of layers in z space. It works fine, but i need the speed of the layers going by to increase over time. It works to a certain degree by precomposing my setup comp and using time-remap by tweaking the velocitty curves, but it's still not quite doing what effect I need. I know this might be a simple expression, but for some reason, I can't get my head around it.

Any help would be greatly appreciated, so I can meet my deadline!

Thanks.

N.

Posted: July 7th, 2005, 2:35 am
by Disciple
Not sure if this would work, but maybe you could AE's exponential scale, and tie your camera move to the scale via expressions?

Just an idea

Alex

Posted: September 28th, 2005, 8:14 am
by goldomega
Try putting this on your layers rather than precomposing them:

accellMultiplier=5;
x=position[0];
y=position[1];
z=position[2]+(time-(Math.exp(time*accellMultiplier)));


[x,y,z]


This expression causes your layer to move backwards in z space exponentially over time. accellMultiplier lets you affect when the curve reaches "terminal velocity." If you want to reverse the direction of the push, change the '+' before the parentheses in the z definition to a '-'.