import traer.physics.*; import processing.video.*; MovieMaker mm; // Declare MovieMaker object ParticleSystem physics; int SIZE=20; int DIST=57; int MASS=15; Particle p, p2; int pn; Particle anchor; Spring s, s2; String lines[]; String[] list; String delim=";"; Float g=0.0; boolean rec=false; void setup() { lines = loadStrings("liste.csv"); size( 750, 600 ); smooth(); fill( 0 ); ellipseMode( CENTER ); physics = new ParticleSystem( 1, 0.05 ); //Obtain maximum Number of Particles for (int i=0; i < lines.length; i++) { list = split(lines[i], delim); if (pn=width) { revV(p); } if (p.position().y()>=height) { revV(p); } if (p.position().x()<=0) { revV(p); } if (p.position().y()<=0) { revV(p); } } } } String getType(int index) { boolean bFound=false; String s =""; int i=0; while((i