Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scaling with expressions

  • Scaling with expressions

    Posted by Robert Henry on January 17, 2007 at 2:54 am

    Hello All

    I need to scale a circle from 0 to 100 (using ease in and ease out) and hold for (x) amount of time then scale from 100 to 0. I know I could keyframe it but I have 100 circles to animate and I would like to use expressions. Thanking All of you in advance.

    mode2997

    Robert Henry replied 19 years, 7 months ago 3 Members · 3 Replies
  • 3 Replies
  • Julian Sixx

    January 17, 2007 at 8:38 am

    Hi

    I’m not sure if it’s 100% correct but maybe Mylenium ,Dan….may check it.

    scaleup= 2; // scale up in time (seconds)
    scaledown =8;
    scaledur=2;// in seconds
    up_easein=easeIn(time,scaleup,(scaleup+scaledur));
    up_easeout=easeOut(time,(scaleup-scaledur),scaleup);
    down_easeout=easeOut(time,(scaledown-scaledur),scaledown);
    down_easein=easeIn(time,scaledown,(scaledown-scaledur));

    sc=Math.min(easeOut(time,up_easein,up_easeout,0,100),easeIn(time,down_easein,down_easeout,100,0));
    [sc,sc]

  • Mylenium

    January 17, 2007 at 6:27 pm

    Yes, this is certainly acceptable, julian, but why not just aniamte a prototype layer and reference all other layers to it?

    Mylenium

    [Pour Myl

  • Robert Henry

    January 19, 2007 at 5:47 pm

    Thank you all for you time and effort…Sorry for the late reply been super busy.

    mode2997

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