In case you cannot open the file, since I am using 2020.1, see below for new changes that you can add to your code.

### Begin Experiment

```
# draw circles with radius 'radius' around a ring with clock radius, tick degree, and tick size
def ringOfMarkers(radius, deg, tickSize):
ticks = math.radians(deg)
x = math.cos(ticks) * (radius-20)
y = math.sin(ticks) * (radius-20)
currentTick = visual.Line(
win=win, name='', units='pix',
start=(-(tickSize, 0.15)[0]/2.0, 0), end=(+(tickSize, 0.15)[0]/2.0, 0),
ori=0, pos=(0, 0),
lineWidth=1, lineColor=[1,1,1], lineColorSpace='rgb',
fillColor=[1,1,1], fillColorSpace='rgb',
opacity=1, depth=0.0, interpolate=True)
currentTick.pos = [x,y]
tick_ori = 180 - tick
currentTick.ori = tick_ori
return currentTick
# draw text outside clock radius
def ringOfText(radius, deg, tickN):
ticks = math.radians(deg)
x = math.cos(ticks) * (radius-20)
y = math.sin(ticks) * (radius-20)
currentTick = visual.TextStim(win=win,
text='',
units='pix', height=40,
color='black')
currentTick.text = str(tickN)
currentTick.pos = [x,y]
return currentTick
```

## Begin Routine

```
major = [] # store for major ticks
minor = [] # store for minor ticks
tickText=[] # Store for tick text
tickRadius = 300
majorTickSize = 30
minorTickSize = 15
tickN = 15
# Create 12 major ticks
for idx, tick in enumerate(list(range(0,360,30))):
currentTick = ringOfMarkers(tickRadius, tick, majorTickSize)
currentTick.autoDraw = True
major.append(currentTick)
# Create 12 minor ticks
for idx, tick in enumerate(list(range(15, 360, 30))):
currentTick = ringOfMarkers(tickRadius, tick, minorTickSize)
currentTick.autoDraw = True
minor.append(currentTick)
# Create numbers
for idx, tick in enumerate(list(range(360, 0, -30))):
currentTick = ringOfText(tickRadius + 50, tick, (tickN % 60))
currentTick.autoDraw = True
tickText.append(currentTick)
tickN += 5
```