Hi I was wondering if there is any efficent way to calculating coordinates of point (which was moved distance d from it's original location).
Let's say I have a point P(0.3,0.5) and I need to move that point random direction with distance d.
So far I did it by random picking new x and y coordinates and I was checking if distance between old and new point equals d. I do realize that is't too eficient way to do that. How would You do it ??