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

Wiggle returning values modified by an amount greater than amplitude setting

Participant ,
Apr 01, 2015 Apr 01, 2015

Hi there... either I'm crazy or wiggle is misbehaving by a small margin.

I have a slider control set to an initial value of 50:

wiggle1.jpg

On that slider is an expression:

wiggle(1.5,50)

When I preview this in graph editor, the value is dipping below 0 occasionally! I've got a frame reading -0.15 and if I mouse over the graph it actually dips as low -0.45.

Shouldn't an amplitude of 50 on top of a starting value of 50 result in a number than ranges from 0 to 100? The value is also never rising to 100, but I'm willing to chalk that up to not running this out over a long enough duration to see all possible values.

wiggle2.jpg

TOPICS
Expressions
1.3K
Translate
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

correct answers 1 Correct answer

Community Expert , Apr 02, 2015 Apr 02, 2015

As I recall, wiggle() has always been able to go slightly beyond the specified amplitude (I think I measured it once, but I don't remember how far it can go). You just need to factor in that possibility.

Dan

Translate
Community Expert ,
Apr 02, 2015 Apr 02, 2015

As I recall, wiggle() has always been able to go slightly beyond the specified amplitude (I think I measured it once, but I don't remember how far it can go). You just need to factor in that possibility.

Dan

Translate
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 ,
Apr 02, 2015 Apr 02, 2015

Ok cool. That's not bad or anything. I was mostly just curious as to whether I had somehow broken it. Good to know it can do that.

Translate
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
Contributor ,
Jun 14, 2016 Jun 14, 2016

I have just discovered this same issue, kind of defeats the whole purpose of even having a amplitude argument if you have to use additional code to clamp the results !!!

It's a bit more than slightly as well, see the image below, I'd guess as much as 20% at the extremes...

wiggle.jpg

Translate
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
Contributor ,
May 12, 2021 May 12, 2021
LATEST

Bah! What a pain in the a*%!

Thanks for the answer. I was so confused.

Translate
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