Algorithm for drawing shapes using polar plotting technique (two rotating circles that intersect, like a turntable)