I think i accidentaly clicked in reply to author, so maybe i'm double
posting.

I have a  similar problem. I have a list of 30 spheres all with same
radius, and a list of a series 30 numbers that go from 0 to 1 (input
step size 1/30) that that are created with the function x/(x^2-2). I
multiply the radius of the list of spheres with the list of numbers.
So now i have a list of spheres with different radius that depend on a
function. I want to place the spheres on a curve, so that they just
touch each other.
If all radius where the same, it would be a matter of using divide
curve by length and using the radius*2 of the spheres as the only
value in the length input.
But since the radius are different, i should use something like:
divide curve by length, and in the length input have a list of all the
sphere radius, but adding the previous ones. If the list is
(15,14.5,13) then i have to input {(15, (15+14.5),(15+14.5+13)}. But
my example is not an unordered list, the previous numbers depend on a
function, so maybe there is a way to do this without looping.

Reply via email to