squares randomly flashing in grid
by Eugene Constable on May 12, 2015 at 6:32:37 am
I have a grid of dark grey squares on black.
I need the grid to gradually come to life, as if being 'powered =up' by colured squares that randomly flash around the screen.
trying to avoid doing this manually.
I found this expression:
holdTime = .5; //time to hold each position (seconds)
minVal = [0.1*thisComp.width, 0.1*thisComp.height];
maxVal = [0.9*thisComp.width, 0.9*thisComp.height];
seed = Math.floor(time/holdTime);
sort of works for the random pos, but I need the squares to only appear randomly within the grid x and y spacing and also flash on and off. If it helps it a 1920x1080 comp and I have 26 squares in the the height...
I'm new to expressions any help greatly appreciated!