-
more control
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])