AE表达式实现随机条来回变换的效果

AE表达式实现随机条来回变换的效果

  tMin = .5;

  tMax = 2;

  end = 0;

  j = 0;

  while (time %26gt;= end){

  j++;

  seed_random(j,true);

  start = end;

  end += random(tMin,tMax);

  }

  endVal = random()*this_comp.width;

  seed_random(j-1,true);

  x=random();

  startVal = random()*this_comp.width;

  x = ease(time,start,end,startVal,endVal);

  ]

推荐阅读