篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了javascript After Effects Scripts我喜欢使用相关的知识,希望对你有一定的参考价值。
// Generate a random value and hold it for x Seconds
holdTime = 8; //time to hold each position (seconds)
maxVal = 100;
seed = Math.floor(time/holdTime);
seedRandom(seed,true);
random(maxVal);
// Ramp Value from0 to Modulo
Modo = 360;
frModo = timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false)%Modo;
hueShift = frModo;
hueShift;
// Loopy Loop
//( with two keyframe aka timeremap loop)
loopOut(type = "cycle", numKeyframes = 0);
loopOut();
// -> elsewise change the numKeyframes to reflect the interval choosen.
以上是关于javascript After Effects Scripts我喜欢使用的主要内容,如果未能解决你的问题,请参考以下文章