String[] fileStrings; // declare an array of Strings PFont myFont; // declare myFont as a PFont int lineHeight = 14; // declare lineHeight and assign it 14 int margin = lineHeight; // declare margin and assign it the value of lineHeight int frame = 0; // declare frame, assign it 0 void setup() { // do this first (and only once)... myFont = loadFont("Verdana-12.vlw"); // load font and assign to myFont size(480,360); // window size frameRate(30); // framerate fileStrings = loadStrings("analytics.csv"); // LOAD A FILE... ASSIGN IT TO fileStrings textFont(myFont,12); // set the face and size of the font noStroke(); // dont draw strokes } void draw() { // keep doing this if(frame<50){ // only do the stuff in here while frame is less than 50 background(255); // white BG for(int i=0;i