Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects squares randomly flashing in grid

  • squares randomly flashing in grid

    Posted by Eugene Constable on May 12, 2015 at 6:32 am

    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’m new to expressions any help greatly appreciated!

    Eug

    Stephen Mendenhall replied 10 years, 11 months ago 3 Members · 2 Replies
  • 2 Replies
  • Walter Soyka

    May 12, 2015 at 4:37 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   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Stephen Mendenhall

    May 12, 2015 at 6:21 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.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy