This content has been marked as final. Show 5 replies
This could work
Thanks rlc5611 !
Thanks for your labor. I have since studied it and its very helpfull !
yep - not too shabby there rlc - but you could make the drawing method a bit more concise with something like this:
I will have to look at yours as well. Thank you. One of the next phases of my project is to study the info found here:
and find the length of the line as the circles are moved to different locations.
If you feel like another challenge I would be curious what you would come up with.
to find the distance of the line - you can use the Pythagorean theorem, or the Point.distance method. The Pythagorean theorem states: a^2 + b^2 = c^2 - so you can get the distance by finding the x/y distances between the two circles, add them and get the square root. or use the Point class and distance method - I'll show both below: