Name: Anonymous 2008-12-21 2:57
My math knowledge is limited, and I would appreciate some help.
How do I find the (x,y) coordinates of a point on a circle's perimeter based on the direction of a ray coming from the circle's origin?
Basically:
Input: Circle's origin coordinates, circle's radius, degree
Output: Coordinates of point where ray (coming from origin of circle) moving in the direction of [degree] hits the perimeter of the circle.
Preferably the degree input is the system of 0-359 degrees, where a number above or below that range would also work just as well, effectively 'wrapping around,' and making 360 work effectively as 0.
Sorry if my diction is poor, I am really not mathematically skilled at all, theory is more my game...
How do I find the (x,y) coordinates of a point on a circle's perimeter based on the direction of a ray coming from the circle's origin?
Basically:
Input: Circle's origin coordinates, circle's radius, degree
Output: Coordinates of point where ray (coming from origin of circle) moving in the direction of [degree] hits the perimeter of the circle.
Preferably the degree input is the system of 0-359 degrees, where a number above or below that range would also work just as well, effectively 'wrapping around,' and making 360 work effectively as 0.
Sorry if my diction is poor, I am really not mathematically skilled at all, theory is more my game...