We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Basically, I want to find this point (highlighted in blue):
Given the coordinates of the centers of both circles and both circles' radii, as well as the coordinates of the point on the inner circle.
The point on the inner circle is already selected randomly as follows:
float a = radians(random(0, 360)); float pX = innerCircRad*cos(a); float pY = innerCircRad*sin(a);
Not sure if that helps at all, but that's what I'm doing.