r of divisions of the ellipse goes to 40 (dividing a 360 degree curve into 40 sampling divisions. Ten divisions works fine, 20 divisions works fine, buy 40 divisions causes a "loopback" in the interpolated curve. Any ideas why? I've attached video and a new gh file.
…
Added by Norm Sash at 10:44am on November 12, 2012
e, this definition just measures the angle between the current angle and the previous one. Then it uses mass addition (the list of partial results) to give the current angle. So each angle is just the sum of all the angles before it. This allows them to go above 360 degrees (or below -360 degrees).
The method I use to tell whether or not an angle is negative is by using a plane input for the angle component. Without it, an angle at -30 degrees from 0 and an angle at +30 degrees from 0 will look the same (it will say 30 degrees). So with this plane input, instead of having +30 and -30 = 30, you get +30 = 30 and -30 = 330. So you can stipulate that any angle over 180 degrees is negative (I guess this is not always absolutely the case, but I wont go into that as it should work fine for you).
I don't think I explained that very well as it's late and I'm overdue for some sleep - but hopefully it will help.
P.S. the numbers in the screenshot are kind of jumbled, but the small numbers are the angle values of the current angle minus the previous one, and the large numbers are the sums of each previous angle.
-Brian
…