Spinning wheel in JS, how to automatically stop the spinning at the center of a randomly chosen slice
问题 In reference and a continuation of this question: Making an image spin with css and jQuery I am interested in taking this approach further. A seven part Wheel spins and the correct values from a related block is depicted when the wheel stops its spin. I have a different need that I would like to achieve. My seven part wheel stop at a random area when clicked, but should always stop at the center of the section. How would I achieve this feature? Right now, my wheel stops randomly, sometimes at