x = 5;
f = thisComp.frameDuration * x; //The duration in seconds of ‘x’ frames in this composition

posterizeTime(1 / f); //Evaluate everything after this line every x frames

random(1, 360);

Advertisements