Points in space, polylines and sounds from points coordinates.

satolas sato's icon

Hello :-)
I'm pretty new here but I already have some experience with Grasshopper which is a nodal programming tool for parametric 3d geometries.

EDIT VIDEO : A little video to be even more clear, where I show in different programs what I'm trying to achieve but into MaxMsp/jitter environment only.




Basically I'm trying to get points listed from a text file and make a polyline and display them into Jitter.
So this is how the list is :
...
{10.85, 0.0, 140.880188}
{10.85, 0.0, 140.880188}
{10.85, 0.0, 140.880188}
{10.85, 0.0, 140.880188}
{10.85, 0.0, 140.880188}
{10.85, 1.725, 140.13}
{10.85, 3.125, 139.293541}
{10.85, 4.825, 138.254531}
{10.85, 6.25, 137.399317}
{10.85, 7.94375, 136.379062}
{10.85, 9.375, 135.523848}
{10.85, 11.05, 134.503593}
... (you can find the complete .txt file at the end of the post)
I have to split these coordinates to have a list of X,Y and Z coordinates for each point.

This is the original points into grasshopper/rhino

And when I do a polyline form theses points (that are listed in the right order):
The image below is how it look into grasshopper/Rhino. Actually if I achieve the same result into MaxMsp/Jitter I would be more then happy.

Polyline coming from the exact txt file liked in the post.

I would like to read theses points one after the other (with metro for exemple) And draw the line at the same time. Each point's Z coordinates emit a sound.

Here is the patch that make the sound from Z coordinates (I made a txt file with Z coordinates only):

Max Patch
Copy patch and select New From Clipboard in Max.

Zlogfile-A.txt
text/plain 216.85 KB
The file to open with my patch to ear the sounds of the Z coordinates.


I found this exemple that seems to be quiet close but a bit to complicated for what I'm trying to do:
Instead of a matrix I would like to give simple points coordinates from the text file.

Max Patch
Copy patch and select New From Clipboard in Max.

logfile-A.txt
text/plain 623.99 KB
The original file with the points with X,Y,Z coordinates


I'm quiet sure for some people here this is a very easy trick to do ^^
I tough that my C# skills and Grasshopper knowledge would help but I still have a lot to learn here ^:-)

If I find some solution I'll post them asap :-)
Thanks for your interest and your help.
//Sato

satolas sato's icon

Hello everyone...any help would be really awesome :-)

Roman Thilenius's icon

the jit.gl. series of objects...?