Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions wiggle frequency on a animated slider is jerky

  • wiggle frequency on a animated slider is jerky

    Posted by Jonas Espinoza on September 4, 2008 at 10:42 pm

    i am getting jerkiness when animating the freq. value on wiggle expression tied to sliders.

    it seems to work in graymachine’s tutes, but i get funny shakes, even when going between two midrange values like 1.3 to 2

    are people having decent luck animating both properties? i always run into this when im wanting to animate these properties, and every time i conclude that its something about having a moving number in the expression function

    Dan Ebberts replied 17 years, 8 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    September 5, 2008 at 12:31 am

    OK – this is probably more than you wanted to know, but here’s the deal. For a particular value of frequency, wiggle() generates a certain waveform. As you increase the frequecy, the same waveform gets generated, it just gets compressed in time and moved to the left a bit. When you animate the frequency value, at any given frame, wiggle() will generate its value as if the current frequency had always been the frequency and use that waveform. This can result in big jumps in value from one frame to the next, and it gets worse the farther out in time you go. So you might get away with animating the frequency value close to time zero, but eventually it will get jerky. You’d probably be better off animating wiggle()’s fifth parameter (time). Then what you’re doing is just moving along the same waveform at different speeds, instead of switching to a different version of the waveform at each frame. It’s easier to understand all this using a rotation wiggle() expression with the graph editor and fiddling with the frequency and time parameters.

    How hard it would be to set up for your application depends on how you were animating frequency, but it should give you smoother results if you’re up for it.

    Dan

  • Jonas Espinoza

    September 5, 2008 at 10:33 pm

    thanks so much

    so a slider for amplitude and time then, makes sense

    also is there a way to limit the wiggle to a certain range?

    as in wiggling opacity, to have it be between say 0-60%

  • Dan Ebberts

    September 5, 2008 at 10:44 pm

    In general, you would just set the Opacity to 30 and the wiggle amplitude to 30.

    Dan

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