Jump to content
GreenSock

eni9889

Manually Stop Spin Wheel using Server Response

Moderator Tag

Recommended Posts

Hi,

 

I have a spin to wheel animation which I found elsewhere on this forum. My use case is a bit different though as I would like to keep the wheel spinning while I make a request to a server which will tell me which slice the animation should land on and then manually stop the wheel but slowly. The issue is my animations end up being choppy since I am changing the easing functions. Any tips anyone might have to make this work smoothly would really be appreciated. 

 

See the Pen dyPrprM by eni9889 (@eni9889) on CodePen

Link to comment
Share on other sites

This is pretty amazing! Sorry to be a pest but how would I add an easing function so the wheel doesn’t start abruptly? 

Link to comment
Share on other sites

Wow you guys are amazing thank you this is perfect. 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×