-
Frame by frame effect (plugin or expression?)
Dear all,
I am trying to reproduce this effect (https://www.facebook.com/clive.hicksjenkins/videos/10156370564303198/) in an animation trying to manipulate the position and skipping some frame with the following expression (thanks to Dan Ebberts!):
// Skipping frame
n = 2; // skip every nth frameframeToSkip = 0; // 0,1,2 ...n-1
currFrame = Math.round(time/thisComp.frameDuration);
currFrame += Math.floor((currFrame - frameToSkip)/(n-1)) + 1;
framesToTime(currFrame);//change the update of the position
rate = 5;
//add some randomenss
prob = 50;
if(random(0, 100) < prob) {
rate = rate + random(0.05);
}
t = framesToTime(Math.floor(timeToFrames()/rate)*rate);
valueAtTime(t);The problem is that I have to apply the second expression in each moving elements and sometimes the animation is “not really controllable”.
Does exist a better a method (or maybe a plugin) in order to achieve this kind of effects? A sort of master effect that can be applied for all animation?Thanks!
Giuliano