Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions creating a layer accordion

  • creating a layer accordion

    Posted by Josh Weiss on October 20, 2007 at 6:59 pm

    I am looking to create an effect where I divide a layer into pieces. Lets say 4 for this example. Then the center 2 sections bend in toward the center point on their Y axis. So basically they pull in till they are flat and pull the 2 ends with them toward the center.

    I know this is hard to communicate with words, but basically what it would do is have the centers bending in backward toward the center point in 3d space. Therefore the axis of the bend is the up and down center of the comp. It pushes backward in z space pulling the layers and having the 2 center layers rotate on the y to come in to be flat and out of view.

    Ok, I hope you can understand this. Any ideas?

    Josh Weiss replied 18 years, 7 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    October 20, 2007 at 7:45 pm

    I can’t picture exactly what you’re after, but this should help. Say you have a bunch of 3D solids, arranged left to right with edges just touching. You move each anchor point to the left edge of the solid. Starting on the left, you make each solid the parent of the one to its right. You then apply this expression to the y rotation property of the second solid from the left:

    -2*parent.transform.yRotation

    All the others (except the left-most, which has no expression) get this expression:

    -parent.transform.yRotation

    Then as you adjust the y rotation of the left-most solid, the others will do the accordion thing.

    Dan

  • Trent Armstrong

    October 22, 2007 at 9:14 pm

    Check the effect about 4 seconds into this movie and let me know if that is what you are talking about.

    https://www.ignitermedia.com/products/ib/singles/649/IB03-Origami-Countdown

    Trent

  • Josh Weiss

    October 22, 2007 at 9:26 pm

    Trent, that is sort of a variation on what I was looking for, but I think I’ve figured it out now. Thanks so much.

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