Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Random position and fad in fade out with in grid – expression?

  • Random position and fad in fade out with in grid – expression?

    Posted by Eugene Constable on May 11, 2015 at 10:24 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 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

    Eugene Constable replied 10 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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