I randomly had this idea the other night for a joke roulette / wheel of fortune for answers to questions my coworkers and I commonly get at work.
This was a little trickier than I thought it’d be, mainly for the angular rotation and trigonometry.
The wheel shuffles the choices every time the sketch refreshes. The buttons on the sketch don’t work exactly the way I wanted them to, but I’ll fix that.
Here’s the link to the code.