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

Introducing new APIs #8

Closed
taglia3 opened this issue Apr 30, 2017 · 5 comments
Closed

Introducing new APIs #8

taglia3 opened this issue Apr 30, 2017 · 5 comments

Comments

@taglia3
Copy link

taglia3 commented Apr 30, 2017

Hi,
an enhancement will be the ability to modify the damping and the frequency property of the animator. What do you think about it?

Matteo

@roberthein
Copy link
Owner

Hi @taglia3, I did think about this 😉
But what would you think would be better?

Something like this: BouncyLayout(damping: 0.7, frequency: 1.5)
Or something like this BouncyLayout(style: .regular) other styles: .subtle, .heavy

@taglia3
Copy link
Author

taglia3 commented May 1, 2017

Hi @roberthein ,
Personally I prefer the last solution. It's better to implement and it's much readable.

@roberthein
Copy link
Owner

Me too, will add it later this week 👍

@alexsmith84
Copy link

alexsmith84 commented May 2, 2017

The former would add finer control. That's my preference!

@roberthein
Copy link
Owner

I added both options in the new update. 💪💪💪 Check it out!

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