Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

'Drift Over Time' but with easy-ease?

19 views
Skip to first unread message

Navarro...@adobeforums.com

unread,
Feb 23, 2009, 2:38:24 PM2/23/09
to
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)

Myle...@adobeforums.com

unread,
Mar 1, 2009, 4:15:37 AM3/1/09
to
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

0 new messages