0
'Drift Over Time' but with easy-ease?
Enthusiast
,
/t5/after-effects-discussions/drift-over-time-but-with-easy-ease/td-p/1678051
Feb 23, 2009
Feb 23, 2009
Copy link to clipboard
Copied
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)
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)
TOPICS
Expressions
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/after-effects-discussions/drift-over-time-but-with-easy-ease/m-p/1678052#M148158
Mar 01, 2009
Mar 01, 2009
Copy link to clipboard
Copied
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
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

