Length of line
in
Programming Questions
•
3 years ago
Hi!
I'm stuck with the following problem.
I have a line which goes from sphere to sphere.
The location of the sphere where the line starts is fixed, the others are not.
The length of the line is also fixed, thus it determines where sphere 2, 3 etc are located.
The length of the line should be read in from an online website, but for now it is okay if I manually can enter a number.
The thing is that I don't know how to approach this problem because I really don't know how I can make a line with a certain length instead of giving it a fixed starting and end point.
Can somebody please help me getting started with this.
I have basic+ knowledge of processing but this is one step too far for me.
Great thanks in advance!
1