Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticOut does not behave as I originally expected #471

Open
lionleaf opened this issue Dec 15, 2017 · 3 comments
Open

elasticOut does not behave as I originally expected #471

lionleaf opened this issue Dec 15, 2017 · 3 comments

Comments

@lionleaf
Copy link
Member

My expectation was that elasticOut(a, b, c, 0) = a and elasticOut(a, b, c, >1) = b in a similar way lerp(a, b, 0) = a and lerp(a, b, 1) = b.

However, it turns out that elasticOut(a, b, c, 1) = a + b.

Is this the intended behaviour, or are we missing a -b somewhere?

PS: What's the interpretation of the third parameter?

@stianjensen
Copy link
Member

Oh, is that what is wrong? I copied in the function right before delivery at a party and I agree it has been a bit confusing, but I've never investigated it. This should be fixed :D

@stianjensen
Copy link
Member

Regarding the third parameter. I'm not sure, I always try random values.

@sigvef
Copy link
Member

sigvef commented Dec 15, 2017

, I always try random values.

me too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants