Animation Via inPoint outPoint
EXAMPLES
FOR SCALE
startScale = [20,20];
endScale = [80,80];
ease(time,inPoint,outPoint,startScale,endScale)
FOR ROTATION
startRotation = 0;
endRotation = 360;
ease(time,inPoint,outPoint,startRotation,endRotation)
OPACITY
rampTime = 1;
if (time < inPoint + rampTime){
ease(time,inPoint,inPoint + rampTime,0,100)
}else if (time < outPoint – rampTime){
100
}else{
linear(time,outPoint – rampTime,outPoint,100,0)
}
POSITION
rampTime = 1;
if (time < inPoint + rampTime){
ease(time,inPoint,inPoint + rampTime,[100,560],[960,560])
}else if (time < outPoint – rampTime){[960,560]
}else{
easeOut(time,outPoint – rampTime,outPoint,[960,560],[1820,560])
}