文档介绍:FROM A TO B五大基本属性锚点位置缩放旋转不透明度本次关键属性位置缩放旋转时间差弹性表达式nearestKeyIndex = 0;if (numKeys > 0){ nearestKeyIndex = nearestKey(time).index; if (key(nearestKeyIndex).time > time){ nearestKeyIndex--; }}if (nearestKeyIndex == 0) { currentTime = 0;} else { currentTime = time - key(nearestKeyIndex).time;}if (nearestKeyIndex > 0 && currentTime < 1) { calculatedVelocity = velocityAtTime(key(nearestKeyIndex).time - / 10); amplitude = ; frequency = ; decay = ; value + calculatedVelocity * amplitude * (frequency * currentTime * 2 * ) / (decay * currentTime);} else { value;}弹性表达式amplitude = = = // DO IT.