-
Random numbers in one source text
I want to display a group of six numbers, each with a value of either 0 or 1 (with spaces between). I want each number to randomize every 4-8 frames. I was hoping to keep it all in one layer’s Source Text with the ability to add more numbers with a slider (instead of 6 numbers, I want 9 or 12). Also I want the seed to be different if I duplicate the layer.
I don’t know too much about expressions but I know its a combination of posterizeTime, seedRandom, Math.round, gaussRandom, repeat, and a slider. But I just don’t know how to lay it all out.
Right now I am just working on getting them all to be different numbers, then I was going to work on “adding” numbers but I’m stumped. The expression I currently have displays all the same number.
0 0 0 0 0 0
but I want something like
1 0 0 1 1 0 >>> 1 0 1 1 0 0I appreciate any help!
posterizeTime(gaussRandom(4,8);
seedRandom(index, timeless = false);
Num = Math.round(gaussRandom(0,1));Num + " " + Num + " " + Num + " " + Num + " " + Num + " " + Num + " "