-
Complicated Opacity/Random/Layers Expression Help.
Hi all, hoping someone might be able to help with this.
I have a composition with 8 different color solids. Each solid layer is broken up into 24 square masks. These squares need to fade up(18 frames) hold for 1 second, then fade down(18 frames).
What I need to happen is that the boxes will fade up, then fade down into different colors. I copied one of Mr. Ebberts expressions:
A = 3;
B = 7;
C = 5;
D = 11;f = Math.round(time/thisComp.frameDuration);
t = 0;
j = 0;
while (f >= t){
j++;
seedRandom(j,true);
period1 = Math.round(random(A,B));
period2 = Math.round(random(C,D));
t += period2 + period1 + 2
}
if (f < t - (period2 + 2)){ 0 }else if (f < t - (period2 + 1)){ random(100) }else if (f < t - 1){ 100 }else{ random(100) } Using this expression + an expression on the actual layer opacity is very close, but these boxes flash way too fast & I don't have any clue how to change the parameters to what I need. Perhaps there is a much better way to approach this, but I'm not seeing it. Thanks Johnny Cuevas Ck&Co Media Productions Johnny Cuevas, Editor http://www.ckandco.net
Sorry, there were no replies found.