unitcircle = ellipse((0,0),1.,1.) firstpoint = point((cos(2*pi/10), sin(2*pi/10)), color='red',size=80) fil=line([(0,0),(cos(2*pi/10),sin(2*pi/10))]) movingpoints= [point((cos(2*k*pi/10), sin(2*k*pi/10)), \ color='red', size=80)+line([(0,0),(cos(2*k*pi/10),sin(2*k*pi/10))]) for k in range(7,9)] a = animate(movingpoints,xmin=-1,xmax=1,ymin=-1,ymax=0) a.show()