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

Touch momentum? #3

Open
SilverGreyStar opened this issue Apr 2, 2020 · 0 comments
Open

Touch momentum? #3

SilverGreyStar opened this issue Apr 2, 2020 · 0 comments

Comments

@SilverGreyStar
Copy link

This seems to be very much what I'm look for with an extremely easy-to-use interface (good work!), but what I'm missing is "touch momentum". Simply I want the user to spin the wheel by swiping across it quickly, and I don't want the user to be able to cheat by swiping it just a little bit to manage to stop the wheel at a beneficial choice for the user, so when the stopRotation event occurs I would like to be able to see how many times the wheel has rotated since the user stopped the swipe, and if it's above 5 (for example) I consider it as a valid spin.

I also suspect a "friction" property controlling how fast the wheel will slow down would be good to have.

Is this something you're willing to implement?

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

1 participant