ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Smooth roll with ease at the end

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jarle Leirpoll
Smooth roll with ease at the end
on Aug 14, 2017 at 3:25:23 pm

Sorry, another time-related question from me... I can't seem to understand how to trigger events at a certain time with expressions.

Trying to create a perfectly smooth roll mogrt (fixed number of px per second) that slows down maybe half a second before it stops. The expression below makes it roll in from the bottom, but of course it just continues to roll.

Ideally, I'd like it to both start and stop at a slider controlled vertical positions, so the user can decide these.

Hmmm...

t = time;
fr = t/thisComp.frameDuration;
x = value [0];
s = -1 * Math.round(thisComp.layer("Controls").effect("Speed")("Slider"));
y = Math.round((fr*s)+(thisComp.height/2));
[x,y]


Jarle Leirpoll
PremierePro.net


Return to posts index

Dan Ebberts
Re: Smooth roll with ease at the end
on Aug 14, 2017 at 4:31:59 pm

I don't know if you've seen this, but it might help:

http://motionscript.com/articles/speed-control.html


Dan



Return to posts index

Jarle Leirpoll
Re: Smooth roll with ease at the end
on Aug 15, 2017 at 10:35:03 pm

I've read that article before, and I re-read it now - but I still haven't been able to figure out a way to do this. All the methods I've seen use markers or keyframes, which is not an option in this template.

Thank you so much for sharing all the info on expressions, BTW. Your site is still the reference for all things related to expressions!

Jarle Leirpoll
PremierePro.net


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]