ObjConstruct[] obj; int numberOfPoints; int segment = 25; boolean redo = true; String lines[]; String loc; int useWords = 1; /************************************************************/ void setup() { size (600,400); framerate(30); background(255); /*---------*/ if (param("numberOfPoints") == null) { numberOfPoints = 400; } else { numberOfPoints = Integer.parseInt( param("numberOfPoints") ); } if (param("useWords") == null) { useWords = 0; numberOfPoints = 3000; } else { useWords = Integer.parseInt( param("useWords") ); } loc = param("loc"); if (loc==null) loc="test.txt"; lines = loadStrings(loc); /*---------*/ BFont metaBold; metaBold = loadFont("Garamond-BoldItalic.vlw.gz"); textFont(metaBold, 16); /*---------*/ //useWords = 1; //numberOfPoints = 600; /*---------*/ obj = new ObjConstruct[numberOfPoints]; for (int x=0;x