-
Random position and fad in fade out with in grid – expression?
Hi,
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);
seedRandom(seed,true);
random(minVal,maxVal)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 1920×1080 comp and I have 26 squares in the the height…
I also need to increase the amount of ‘pulsing’ squares that are appear over time. this animation is 5s long max.
I’m new to expressions any help greatly appreciated!
Eug
Sorry, there were no replies found.