typical spinning wheelI am making a spinning wheel in Python tKinter. Usually, when you spin the wheel, you land on a random slice on the wheel, where the random choice is the text displayed on the slice. I am unable to find a way to rotate text on the slices.
I have tried to use the angle option in the create_text function
, only it rotates the text around the center of the circle:
for x in range(len(spinList)):
color = "#"+("%06x"%random.randint(0,16777215))
c.create_arc(xy, start=90+((360/size)*x), extent=(360/size), fill=color, outline='black', width=2)
c.create_text(200, 200, text=spinList[x], angle=90+((180/size)*x))
the expected result that I wanted was the text to be displayed on each individual slice of the spinning wheel, but instead it is rotating around the midpoint. Is there a way to not make this happen?