Thread View: adobe.after.effects.expressions
2 messages
2 total messages
Started by Navarro_Parker
Mon, 23 Feb 2009 19:38
'Drift Over Time' but with easy-ease?
Author: Navarro_Parker
Date: Mon, 23 Feb 2009 19:38
Date: Mon, 23 Feb 2009 19:38
9 lines
1052 bytes
1052 bytes
I'm using the nifty Adobe Drift Over Time preset. But its movement is linear. Any way to add an easy-ease to the start of it?
This is applied to the position property of the Transform plug-in:
driftDirection = degreesToRadians(effect("Drift Over Time")("Direction") - 90);
x_offset = Math.cos(driftDirection);
y_offset = Math.sin(driftDirection);
driftSpeed = effect("Drift Over Time")("Speed (pixels/second)");
[x_offset,y_offset] * driftSpeed * (time-inPoint)
Re: 'Drift Over Time' but with easy-ease?
Author: Mylenium
Date: Sun, 01 Mar 2009 09:15
Date: Sun, 01 Mar 2009 09:15
11 lines
1127 bytes
1127 bytes
Well, with a conditional statement that separates the time for the ease from the rest:
driftDirection = degreesToRadians(effect("Drift Over Time")("Direction") - 90);
x_offset = Math.cos(driftDirection);
y_offset = Math.sin(driftDirection);
driftSpeed = effect("Drift Over Time")("Speed (pixels/second)");
easeTime=2;
if (time-inPoint <= easeTime) {[x_offset,y_offset] * linear(time,0,easeTime,0,driftSpeed) * (time-inPoint)} else {[x_offset,y_offset] * driftSpeed * (time-inPoint)};
Mylenium
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