Shay K. answered 05/31/19
CS Student with experience as a professional software developer
Let's assume we have a circle at position (x, y), and radius r. To plot a random point inside of a circle, we can get a random number based on the degrees around a circle, and use trigonometry to solve for the x/y coordinates of the point.
Some trigonometric functions that may help you with circles in the future:
Y = A*sin(angle)
X = A*cos(angle)
Where A is the hypotenuse of a right triangle, and X and Y are the lines coming off from the right angle (horizontal line is X, vertical is Y).
Shay K.
Also, this was a pretty fun problem to help with. If you have any more interesting problems, don't hesitate to post them. I'd love to explain them to you!05/31/19