Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Changing size of circle

  • Changing size of circle

    Posted by David Mathis on December 5, 2013 at 9:13 pm

    I would like to make a comp of several circles. Each circle will decrease in size by a different amount. Trying to find an expression to accomplish this but keep running into a brick wall.

    For example 100%, 90%, 70%, 40%

    The circle on the bottom layer will be at 100% with the top one at 40%

    Kevin Camp replied 12 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Kevin Camp

    December 10, 2013 at 12:49 am

    try this:

    topCircle = thisComp.layer("Top Circle");
    sizeArray = [40,70,90,100];
    n = index-topCircle.index;
    s = sizeArray[Math.min(n,sizeArray.length-1)];
    [s,s]

    define topCircle the your top circle layer then copy/paste onto the circles bellow the topCircle layer.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

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