ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

squares randomly flashing in grid

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eugene Constablesquares randomly flashing in grid
by 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!


Return to posts index

Walter SoykaRe: squares randomly flashing in grid
by on May 12, 2015 at 4:37:08 pm

I would probably approach this procedurally, with Fractal Noise, Levels/Curves/Exposure, and Mosaic.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]

Return to posts index

Stephen MendenhallRe: squares randomly flashing in grid
by on May 12, 2015 at 6:21:36 pm

The fractal noise/mosaic approach is tried and true. I usually go that route.

Recently I had a project that needed a little more control, and the Rift script saved me.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 All Rights Reserved