05-08-2024, 06:53 AM
hey guys. i want to locate a location on using sin,cos....
I am not good a math.
i want it to give me the cords of a given center x,y (center of circle) with location as 360deg from center as in l = 360d input at x,y
so lets say x=200, y=200,l=90 so it returns x,y position - 50pixel from center to l degrees of circle
: x = 150
:
O-----------y = 150
if any one can help thank you...
i need to be able to pick a number from the circle at any one time and have an x,y location. i send x,y,d and it returns x,y from center of x,y circle minus distance in deg.....
hope i said it clear... almost confused myself
I am not good a math.
i want it to give me the cords of a given center x,y (center of circle) with location as 360deg from center as in l = 360d input at x,y
so lets say x=200, y=200,l=90 so it returns x,y position - 50pixel from center to l degrees of circle
: x = 150
:
O-----------y = 150
if any one can help thank you...
i need to be able to pick a number from the circle at any one time and have an x,y location. i send x,y,d and it returns x,y from center of x,y circle minus distance in deg.....
hope i said it clear... almost confused myself