Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions grid movement, transition from order to random

  • grid movement, transition from order to random

    Posted by Chifei Soong on July 26, 2012 at 11:51 am

    having a lot of trouble figuring out this problem:

    i have a grid tile(64 X64) layout in a composition (1024X576) using expressions below.

    how is it possible to have v1 to transition from this value to a random grid movement expression after (time>t); all pieces moving randomly in grid manner from v1 to outside of comp?

    would like to achieve a grid puzzle shuffle(in/out) effect 🙂

    Thanks~!

    compo=[1024,576];
    t=2;
    hom=1;
    origin = [32,32];
    hDist = 64;
    vDist = 64;
    numCols = 1024/64;
    myCol = (index-hom)%numCols;
    myRow = Math.floor((index-1)/numCols);
    v1=origin + [myCol*hDist,myRow*vDist];
    if(time<t)
    v1

    Chifei Soong replied 13 years, 9 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