ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

loop without loop

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tunc Erenkus
loop without loop
on May 1, 2020 at 11:07:13 am

I am sure it is too simple, but I am happy to solve my own question about loop without loop command. (yes, boring in lockdown:)

dur = 1;
a = 0;
b = 100;
timer = Math.ceil(time/dur)%2;
factor = Math.ceil(time/dur);
Out = dur * factor;
In = Out - dur;
AB = linear (time, In, Out, a, b);
BA = linear (time, In, Out, b, a);

if (timer == 0) AB;
else BA



Return to posts index

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