» [OBSOLETE] ArcLength(3d generic)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

[OBSOLETE] ArcLength(3d generic)

Credits: This module was made in order to get evenly spaced points along a bezier curve and was made with the help of gregsnand frankin the forum thread: BézierSpreads: what length: i have taken gregsn's arclength patch for B-Splines and made it a more generic tool for any input curve. john


ArcLength(3d generic)takes a spread of 3D co-ordinates and calculates the length of the straight lines connecting them from start to finish.
Another pin will take a spread of lengths from which the module will output a spread of coordinates, and the slice number of the nearest input point.
Note that the slice number returned is a decimal. this means that if the slice number 3.49 is returned and you use it with a getslice node, getslice will return slice 3, if the slice number is 3.51 slice 4 will be returned, in this way the closest point is determined.
If a length specified is between two original helper points then the output point is calculated to lie somewhere along the straight line between the two points.
Obviously the higher the spread count of helper points the more accurate this will be.
Dont forget to specify if the curve is open or closed!
Useful for any spread whether it is bezier based, b-spine based or any list of 3d coordinates meant to represent a line in 1,2, or 3D space.
Helper points are input as an (xyz) vector so to calculate for only 2d or 1d set the unused coordinates to 0 in a Vector (3d Join).

main nodes used are Integrateand Interval and Normalise
Bins are yet to be implemented (feel free to so !)


ArcLength (3d generic).zip
08.09.10 [15:59 UTC] by john | 1376 downloads

frank 06/11/2010 - 17:34

small bug fixed. new version here ArcLength (3d generic).zip

john 28/12/2010 - 05:04

@frank can you remember the bug you fixed ?

readme 16/03/2012 - 12:55

Been looking for something like this, thanks!

Desaxismundi 02/01/2013 - 18:50

Anyone got the binsizes sorted? Tried a few times without success. Any hints welcome!

colorsound 07/05/2013 - 18:18

hi does someone got a spreadable version of this ?

gaz 06/08/2013 - 17:20

+1 spreadable version!

hierro 01/09/2013 - 22:09

looks like is not spreadable, a shame indeed...

herbst 02/09/2013 - 01:59

here's a rewritten-as-plugin fully spreadable version of ArcLength, because it's really cool and powerful: pathvectors-(3d)

anonymous user login


~1d ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/

~2d ago

david: vvvv meetup 3. new stream link. again youtube made us nuts.. please send everybody to https://youtu.be/pa3HRQ7kj6w

~2d ago

joreg: Reminder: Join us this evening, 8pm CET for the 3rd worldwide #vvvv meetup: 3.-worldwide-vvvv-meetup

~2d ago

sinus: @evvvvil: very impressive stuff! keep on marching the rays!You´ll never walk alone!

~3d ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~4d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~5d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~6d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~7d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~8d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch