Opacity random motion, ok! and loops?


hi there!

i'm using expression dan ebberts, dan!

this expression works great, problem it's not loop.

i need loop 4500 f. try use time % looptime, doesn't work.

does have idea how this?

thanks!


expression below:
segmin = .3; //minimum segment duration
segmax = .7; //maximum segment duration
minval = 10;
maxval = 100;

end = 0;
j = 0;
while ( time >= end){
  j += 1;
  seedrandom(j,true);
  start = end;
  end += random(segmin,segmax);
}
endval =  random(minval,maxval);
seedrandom(j-1,true);
dummy=random(); //this throw-away value
startval =  random(minval,maxval);
ease(time,start,end,startval,endval)

for looping random behaviour, looping wiggle iexpression might helpful.



More discussions in After Effects Expressions


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support