-
Scale expression edit
Hello to everyone. This is my first message. I will be very happy if you help.
I have the code below. however, I want the start time to be determined automatically based on the start time of the text layer. I want the end time to be 20 to 25 periods after the start time. And I want to apply the opposite at the end.
rampStart = 0;
rampEnd = 1;
startVal = [0,0];
maxVal = [100,100];rampMid = rampEnd;
if (time < rampStart || time > rampEnd){
value
}else if (time < rampMid){
ease(time,rampStart,rampMid,startVal, maxVal)
}else{
ease(time,rampMid,rampEnd,maxVal,startVal)
}