Creative COW SIGN IN & SETTINGS :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: ForumAE BasicsAE ExpressionsTutorialsArticlesPodcastsMotion GraphicsTrainingCinema 4D

Re: Wiggle with ease

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


Re: Wiggle with ease
by Filip Vandueren on May 18, 2008 at 11:17:23 pm

Hey Aharon,

I guess you mean by 'easing' that as each wiggled value is reached, the velocity of change drops down to 0.
You can't do that via wiggle, but you can write your own wiggle-system, interpolating between random values.

this is a hack of one of Dan's old expressions that does that trick:


tMin = .25; //minimum segment duration
tMax = .5; //maximum segment duration
minVal = [-50,-50];
maxVal = [50,50];
start=0;
end = 0;
j = 0;
while (time >= end){
j ++;
seedRandom(j,true);
start = end;
end += random(tMin,tMax);
}
endVal = random(minVal,maxVal);
seedRandom(j-1,true);
dummy = random(); //this is a throw-away value
startVal = random(minVal,maxVal);
wig = ease(time,start,end,startVal,endVal);

wig+value;




Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


Current Message Thread:
  • Wiggle with ease by Aharon Rabinowitz on May 16, 2008 at 2:21:29 pm
    • Re: Wiggle with ease by Dan Ebberts on May 16, 2008 at 3:31:58 pm
    • Re: Wiggle with ease by Filip Vandueren on May 18, 2008 at 11:17:23 pm


Related Threads:
Can I decrease a Wiggle expression over time?   |   Wiggler expression help please   |   Ease up on the wiggle buddy!



Note: If you are a registered user and you do not see your name and email in the two respective fields above, you may reset your account cookies by clicking here. Your post will not be accepted if the name and email provided above are not currently registered in our database.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  


Message                Add Bold Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Italic Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Underline Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Image Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd URL Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this button

Note: The following characters are HTML command characters, and may cause parts of your post to disappear, if not used correctly: < > &. To include any portion of the post in your response, highlight the desired text and hit the "Q" key. For more on how to post, click here.


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]