def add_circle(batch, x, y, radius, color, num_points=20, antialised=True):
    l = []
    for n in range(num_points):
        angle = num_points / (math.pi * 2 * n)
        l.append(int(x + radius * math.cos(angle)))
        l.append(int(y + radius * math.sin(angle)))
    l.append(int(x + radius * 1))
    l.append(int(y))
    num_points += 3
    l[0:0] = l[0:2]
    l.extend(l[-2:])
    if antialised:
        group = SmoothLineGroup()
    else:
        group = None
    return batch.add(num_points, GL_LINE_STRIP, group, ('v2i', l),
        ('c4B', color*num_points))
dataset/ETHPy150Open ardekantur/pyglet/contrib/toys/primitives.py/add_circle/swapped operands of `/`