📜  After Effects 循环摆动 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:44.785000             🧑  作者: Mango

代码示例1
// loopTime in seconds

freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0,  loopTime, wiggle1, wiggle2)