Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects more control

  • more control

    Posted by Robert Paynter on September 28, 2006 at 6:10 pm

    i am using this (below) on the postion of a horizontal bar.
    It is porducing the right effect.. however i need more control.. the bar is supposed to enter from the side at the beginning and stop at a particular spot after a certain amount of time.. can i get this much control? or is this a lost cause?

    segMin = .3; //minimum segment duration
    segMax = .7; //maximum segment duration
    minVal = 0;
    maxVal = thisComp.width;

    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 is a throw-away value
    startVal = random(minVal,maxVal);
    y = position[1];
    ease(time,start,end,[startVal,y],[endVal,y])

    Tony Kloiber replied 19 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Tony Kloiber

    September 28, 2006 at 6:42 pm

    Should I bother asking why not just use keyframes?

    TonyTony

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy