Path プロパティ上のキーフレームをシームレスにループさせるため、シェイプレイヤーやマスクに最適です。このエクスプレッションを使えば、アニメーションするシェイプ用に途切れなくループするパスを作成できます。
// Delete expression if you need to edit path
try{
timeStart = thisProperty.key(1).time;
duration = thisProperty.key(thisProperty.numKeys).time-timeStart;
pingPong = false;
quant=Math.floor((time-timeStart)/duration);
if(quant<0) quant = 0;
if(quant%2 == 1 && pingPong == true){
t = 2*timeStart+ (quant+1)*duration – time;
}
-50%
-50%
00時間 : 00分 : 00秒
Happy Holidaysサイト全体セール
今すぐ購入
else{
t = time-quant*duration;
}
}
catch(err){
t = time;
}
thisProperty.valueAtTime(t);
プロのヒント:AEJuice Pack Manager – Expressions Pack を開けば、このエクスプレッションをワンクリックで適用できます。最新版プラグインの直接リンクはこちら:
Windows / macOS

Our Bestsellers

Our Bestsellers