Processing Forum
ArrayList pointList;
void setup() {size (1000, 1000);background(0);
pointList = new ArrayList();importTextFile();}
void draw() {
background(0);stroke(210);fill(210, 90);
for (int i = 0; i < pointList.size(); ++i) {PVector V = (PVector) pointList.get(i);ellipse(V.x, V.y, 10.0, 100.0);}}
void importTextFile() {String [] strLines = loadStrings("truncated.txt");for (int i = 0; i < strLines.length; ++i){String[] arrTokens = split(strLines[i], ',');float xx = float(arrTokens[0]);float yy = float(arrTokens[1]);float zz = float(arrTokens[2]);pointList.add(new PVector(xx/10, yy/100, zz));}}