Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Grid, squares and beams

  • Grid, squares and beams

    Posted by Pierre-alexis Tremblay on March 10, 2010 at 4:00 pm

    Hi, see attached movie, I did this “manually”, could it be done with expressions?
    In short the principle is to gradually build a grid of squares from the first square linking randomly to another one’s position with a beam which is “making it appear” and so on until the grid is complete.
    I have to do it with a larger grid (9×9 squares) and I’m just realizing the pain of doing this 😉

    To add a level of complexity, as the squares appear, more than one square could simultaneously link to the next one to appear…

    P.A.T.

    Pierre-alexis Tremblay replied 16 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 10, 2010 at 5:02 pm

    The difficulty with something like this is coordinating the all the data. You’d need to do the main calculation in a single expression and “publish” the results for the other expressions that do the scaling and beam animation, etc. I’d use a text layer expression for this. I’d use a two-digit (column and row) notation so that the upper left corner would be 00 and the middle would be 44 (assuming a 9×9 grid), etc. for each event I’d list the appearing square fist, followed by the squares that spawned it, and use a period (“.”) to separate events. So if you start with the center square lit up, an event sequence where the center square lights up the one above it, which lights up the one to its right, which lights up the one to its right, etc., would look like this:

    4344.5343.6353……..

    The logic needed to generate this random sequence in the text layer expression would be fairly complex as well. I think it would take a few hours to get this all working correctly.

    Dan

  • Pierre-alexis Tremblay

    March 10, 2010 at 5:44 pm

    Thanks Dan,
    for now I’ll go for a more simple solution since I’m on a tight deadline.

    P.A.T.

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