Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions smooth oscillation between keyframes?

  • smooth oscillation between keyframes?

    Posted by Nate Biehl on January 17, 2024 at 10:22 pm

    Hello!

    I have this expression to smoothly oscillate a shape layer between two points:

    y=value[1];
    a=20;
    p=effect("X Position Offset")("Slider")*10;
    f=effect("Frequency Slider")("Slider")/5;
    x=[Math.cos(time*Math.PI*f)*a]+p;
    [x,y]

    I would like to keyframe the frequency slider to smoothly transition from one frequency to a higher frequency, but when I add keyframes to the slider the frequency goes berzerk between the keyframes. Is there a way to make the transition smooth?

    Thank you!

    Brie Clayton replied 1 year, 3 months ago 3 Members · 3 Replies
  • 3 Replies

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