ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Linear expression -Including Limits

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Ebberts
Re: Linear expression -Including Limits
on May 3, 2020 at 4:17:48 pm

Try it this way:

t = thisComp.duration - thisComp.frameDuration;
linear(time,0,t,0,360)


Say your comp duration is 10 frames. The first frame would be frame 0 and the last would be frame 9. Frame 10 would be one frame beyond the end of your comp, so you want your linear() range to end one frame before the duration of your comp. I think ☺

Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]