• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

wiggle expression with stepped (not smooth) interpolation?

Participant ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

hi

not sure if it's even a wiggle expression I'm after,

but I'm wondering how to go about getting a series of random values that an object or parameter will jump to (rather than smoothly transition to, as in the basic wiggle expression).

thanks

ML

TOPICS
Expressions

Views

7.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

just messing with it a bit...it looks like one option is to pre-comp a wiggled layer, then use the posterize time effect on the precomp....

any other methods out there?

ML

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

That is probably the easiest.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 18, 2013 Jul 18, 2013

Copy link to clipboard

Copied

thanks Rick

ML

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 14, 2017 Jul 14, 2017

Copy link to clipboard

Copied

you could actually just add a posterizeTime expression before your wiggle — like so:

posterizeTime(12); // number in parentheses is the frame rate you want to wiggle at — lower number = more "stepped //

wiggle(5, 50)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 26, 2017 Jul 26, 2017

Copy link to clipboard

Copied

Hi

You can use the extended wiggle parameters like this to create the required jumps:

wiggle(2,200, 1, .5, time-time%.5)

just change the numeric value of the "time-time%.5" parameter

for example:

wiggle(2,200, 1, .5, time-time%.5) jump every 0.5 seconds

wiggle(2,200, 1, .5, time-time%1) jump every 1 second

wiggle(2,200, 1, .5, time-time%2) jump every 2 seconds

wiggle(2,200, 1, .5, time-time%.3) jump every 0.3 seconds

the first and the second parameters (2,200) determine the frequency and amplitude as usual.

I hope this will shorten up things for you

Liran Tabib

www.vdodna.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2017 Jul 26, 2017

Copy link to clipboard

Copied

iExpressions also contains a "snapping Wiggle" which is like first applying a normal wiggle and then snapping it to a grid such that if effectively jumps from one grid line to the next one.

As any iExpression, it comes with an intuitive user interface:

snapping_wiggle_2d.png

iExpressions is a commercial extension for After Effects that I develop and that is available here:

iExpressions 2 - aescripts + aeplugins - aescripts.com

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 03, 2017 Aug 03, 2017

Copy link to clipboard

Copied

LATEST

Check out this awesome page by MotionScript

Random Motion

Here's a quick breakdown of what's likely useful to you.

pause=1;                                                                 // How long to hold in each position

seed = Math.floor(time/pause);                               // Generates seed random values

seedRandom(seed,true);                                         // Gives random seed over time

random([thisComp.width, thisComp.height])          // Gives random X, Y values based on Comp width & height

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines