05-24-2022, 02:41 AM
If Sqr((x - cx) ^ 2 + (y - cy) ^ 2) < (pr + pr2) Then
Sqr((x - cx) ^ 2 + (y - cy) ^ 2) = distance between (x,y) and (cx, cy)
(pr + pr2) = the sum of radius of 2 round objects
The radii you are using @SierraKen are r and rr, the same you use for drawing the circles.
See if it looks better replacing pr+pr2 with r and rr.
Sqr((x - cx) ^ 2 + (y - cy) ^ 2) = distance between (x,y) and (cx, cy)
(pr + pr2) = the sum of radius of 2 round objects
The radii you are using @SierraKen are r and rr, the same you use for drawing the circles.
See if it looks better replacing pr+pr2 with r and rr.
b = b + ...