View Full Version : Formula for string length
wes_design
July 1st, 2010, 01:59 PM
I am currently working on a game would like to know if anyone by chance knows a formula that finds the length of string or any object when it wraps around a circle...
you have Lf = L1+L2+L3
you have the diameter of the circle(D1)
You also have L1
But what I need is L2 and L3(if I had one I probably could find one)
52248
thanks in advance
Freshmaker
July 1st, 2010, 03:38 PM
you have Lf = L1+L2+L3
you have the diameter of the circle(D1)
You also have L1
But what I need is L2 and L3(if I had one I probably could find one)
Solving for L1 is trivial, of course. As you have stated, though, there are two free variables (L2 and L3). You need to explain what constraints or limitations are to be placed on these.
Can you explain what you're trying to illustrate with your picture? L2's endpoints are at the top of the circle and slightly offset from the bottom of the circle--I can't discern any reason for these endpoints being where they are. My best guess is that the endpoints should be at the top and bottom, and in that case L2 is just half the circumference of the circle, which can be found using the diameter, and after that L3 is easy to find.
Someone else may have a clearer interpretation of your problem, but if not you may need to provide additional information. What determines where L2 and L3 start and end?
neilmmm
July 1st, 2010, 04:58 PM
well your picture is not clear
but L2 looks to be half the circumference and will always by a constant
if it is
L3 =Lf-(L1+L2)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.