Thread View: adobe.after.effects.expressions
6 messages
6 total messages
Started by Finn_Skivling
Thu, 18 Dec 2008 15:54
start operation on layer time instead of comp time
Author: Finn_Skivling
Date: Thu, 18 Dec 2008 15:54
Date: Thu, 18 Dec 2008 15:54
11 lines
1017 bytes
1017 bytes
I cannot get this peice of code to start to work its magic att the beginning of the layer its applied to instead of the beginning of the comp the layer is in. veloc = 10; amplitude = 150; decay = 2; amplitude*Math.sin(veloc*time)/Math.exp(decay*time) I have tried just writing layertime but Im very new to this whole expression thing and have yet to start to se logic in the strings. So thanx for anny help /Finn, Sweden
Re: start operation on layer time instead of comp time
Author: Dan_Ebberts
Date: Thu, 18 Dec 2008 21:14
Date: Thu, 18 Dec 2008 21:14
10 lines
760 bytes
760 bytes
Easy fix: t = time - inPoint; veloc = 10; amplitude = 150; decay = 2; amplitude*Math.sin(veloc*t)/Math.exp(decay*t) Dan
Re: start operation on layer time instead of comp time
Author: Finn_Skivling
Date: Tue, 23 Dec 2008 10:01
Date: Tue, 23 Dec 2008 10:01
2 lines
638 bytes
638 bytes
Cheers Dan! Much appreciated
Re: start operation on layer time instead of comp time
Author: Finn_Skivling
Date: Wed, 14 Jan 2009 09:53
Date: Wed, 14 Jan 2009 09:53
3 lines
709 bytes
709 bytes
And if I want to control the start time within the layer (ex: +3 seconds) were do I add it? Thanx
Re: start operation on layer time instead of comp time
Author: Dan_Ebberts
Date: Wed, 14 Jan 2009 14:26
Date: Wed, 14 Jan 2009 14:26
7 lines
851 bytes
851 bytes
Like this:
delay = 3;
t = time - (inPoint+delay);
if (t < 0){ value }else{ veloc = 10; amplitude = 150; decay = 2; amplitude*Math.sin(veloc*t)/Math.exp(decay*t) }
Dan
Re: start operation on layer time instead of comp time
Author: Finn_Skivling
Date: Thu, 15 Jan 2009 08:07
Date: Thu, 15 Jan 2009 08:07
1 lines
629 bytes
629 bytes
Thanx bro. You rock!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads