Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Another Transition Question

  • Another Transition Question

    Posted by Johnnyfix on April 25, 2007 at 6:18 pm

    Hey there,

    I’m a 3 year veteran of AE, but new to expressions as well as Creative Cow’s forums.

    I have an animation where by several layers pop onto the screen in rapid succession (try to image a loaf of sliced bread with each slice appearing one after the other very quickly). From there, the stack of layers needs to quickly move into a new formation; in this case a grid. I have found scripts online that will achieve each formation (the rapidly appearing stack as well as the grid formation).

    My question is: Is there a way via expressions to transition from the stacked formation to the grid formation? Can I intigrate a slider control for flexibilty? Should I not be using scripts for this animation? Is there a better over all methodology to acheive this animation?

    Thanks for the help.

    Johnnyfix replied 19 years ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    April 25, 2007 at 11:49 pm

    you could calculate the random position and store it in variable A.
    calculate the gridposition and store it in variable B

    then using a slider from 0 to 100 on a Null and the linear() or ease() function you could do this:


    a=random([640,480]);
    b=[(index%7)*80 , 80*Math.floor(index/8)];
    c=thisComp.layer("CONTROLLER").effect("interpolate")("Slider");

    linear(c,0,100,a,b);

    the first 2 lines are some quick pseudo-code, change that to the formulas you allready have.

  • Johnnyfix

    April 26, 2007 at 4:04 am

    Awesome.

    Thanks so much. i’ll give this a try.

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