class Touch { String toucher; String touched; int touchTime; Touch(String a, String b, int tTime){ toucher = a; touched = b; touchTime = tTime; } void draw(int yPos){ fill(255); // White text pushMatrix(); translate(0,yPos); image(strap,0,0); // strap px size 176x24 text(toucher + "|" + touched + " " + (touchTime - getTime())*-1 + "s",4,2,176,24); // Prints toucher & touched + time since touch on strap popMatrix(); } }