How can I make my clockwise object smooth?

Upon below code, I created 60-seconds clock-like object.
However, Though I intended to creat continuous clock, this is changing every second.

I don’t know how to fix it.


ring = visual.RadialStim(win, tex='none', color=-1, size=1.5, visibleWedge=[0, 10])


timer = core.Clock()
duration = 60  


while timer.getTime() < duration:
    current_time = timer.getTime()
    angle = 360 * (current_time / duration)
    ring.visibleWedge = [0, angle]
    ring.draw()
    win.flip()

    if 'escape' in event.getKeys():
        break

Are you sure it’s only running once per second?

You could increment a counter in your while loop and print it at the end to see how many frames you get in 60 seconds.