Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Pondering out loud…

  • Pondering out loud…

    Posted by Ariel Levental on August 29, 2007 at 12:00 am

    I’ve been wondering on how would one go about writing an expression that involves percentage.
    more specifically, percentage of rotation.
    i want to have a set of layers that adjust their angle every time i add a new layer into the comp. so they are evenly spread out over 360 degrees.
    I’ve tried to solve it myself using thisComp.numLayers and 360 degrees but it just doesn’t seem to work…

    anybody ???

    Coverbee replied 18 years, 8 months ago 3 Members · 2 Replies
  • 2 Replies
  • Colin Braley

    August 29, 2007 at 12:25 am

    Try something like this:

    (360 / thisComp.numLayers) * (index – 1 )

    ~Colin

    http://www.colinbraley.com

  • Coverbee

    August 29, 2007 at 10:45 am

    That’s nice Colin.

    For a ‘Fan Out’ effect use small layers (100 px).
    add this expression for Rotation : (index-1)*15//degrees

    have fun

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