Hi All,
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
             
           
 
            
           
             What I'm looking to do is create a script that will allow me to
            
            
             - Import several sets of points from different .txt files. (I have points drawn in Rhino I need to export as such).
            
            
             - Each .txt file would represent points in xyz (although z is 0 in the drawing I have)... and there would be a hierarchy of points. So each set would be given a different attractor value or polarity so that some point sets have stronger attraction than others...
            
            
             - Then I can run the script and hopefully it will create some drawing that will show this network.. but I'd like to be able to change the attractor values, take out a set of points or a txt file to see what happens etc...
            
            
             I was looking at these scripts:
            
            
             If it's possible to modify those scripts so that I can include (i have 7) attractor types that can be imported as .txt files that would really be amazing. I have no idea how to do this, but I'm guessing it would require a separate class for each different attractor type, using an Arraylist for the imported txt??
            
            
             I really don't have the expertise to script something like this from scratch as I've only been using processing for a short while so modifying some existing ones that can explore what I want would be enough, even though doing something that's new and shows swarm intelligence would be incredible as well!
            
            
             Thanks!
            
            
             Edit: perhaps in another script the points would act via 'gravity' towards each other, so in the end, all the points will probably condense into a kind of black hole but the lines tracing the movement create a drawing that could be very interesting.
            
             
              
              1  
            
 
            
 
 
           
 
            