-
Manipulating an expression’s timing
Hello,
I’m fairly new to expressions and have a problem I’m pretty certain there is a simple solution for.
I’m using Dan Edbert’s pendulum expression which works amazingly –
https://www.motionscript.com/expressions-lab-ae65/pendulum.html
I am applying the expression to the z axis of a piece of footage to simulate a swinging from a wire effect.
The expression starts at frame 0 by default, but I would like to be able to dictate when the expression starts and stops. For example if I want to start the expression at frame 300 and again at 350 in the same piece of footage, what control setup do I need?
I’m pretty sure I can use a slider control, but I’m stuck at how to construct the correct controls.
If someone has a simple solution I would be very grateful
Thanks
Richieveloc = 7;
amplitude = 80;
decay = .7;amplitude*Math.sin(veloc*time)/Math.exp(decay*time)