I am programatically drawing sectors of a circle with radius 55 on a cartesian plane which runs from -55 to 55 on the x and y axes. I would like the first sector to be drawn at 0,55.
I know I can calculate the x,y values using using:
x=radius * cos(angle) y=radius * sin(angle)
Further, I know that I can multiply x * -1 to go in a clockwise fashion around with the remnaing sectors.
This works great however, the first sector is positioned at -55,0 on the plane.
How do I adjust these caculations so that the first sector starts at 0, 55 and subsequent sectors go around in a clockwise fashion from this point?