glBegin(GL_LINE_LOOP) for degrees in range(0, 360): angleInRadians = math.radians(degrees) x = math.cos(angleInRadians) * radius y = math.sin(angleInRadians) * radius glVertex2f(x,y) glEnd()