Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects expressions help.

  • expressions help.

    Posted by Ted Gore on March 22, 2006 at 4:05 pm

    I’m looking for a way to be able to motion sketch an object and have that object move along the path in an oscillating type motion. Surges, pause, surges, pause… Like a work almost.

    Any ideas?

    Also, a way to link other objects to a master object and have them follow the position, but offset in definable amount of time.

    Thanks for any help.

    Mike Clasby replied 20 years, 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    March 22, 2006 at 7:10 pm

    Try this expression for position:

    freq = 2; //oscillations per second
    amp = 50; //oscillation amplitude

    delta = amp*Math.sin(time*freq*2*Math.PI);
    if (position.speed != 0){
    v = normalize(position.velocity);
    v = [-v[1],v[0]];
    value + v*delta;
    }else{
    value;
    }

    Dan

  • Mike Clasby

    March 24, 2006 at 5:52 am

    I think I like that the best of all your Follow the Leader expressions, it’s so Loosie-Goosie-organic

  • Mike Clasby

    March 24, 2006 at 5:54 am

    Oops, I meant this to go above on another expression.

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