if you come from spreadsheet you just export to csv
no idea how you created that file?
ok,
actually a table is a perfect database
so i assume you just do a exercise about learning classes
because i not see any need for them…
good what now?
+_+
just for play i use
class TigerSights {
float x2, y2;
float diameter2;
String date2;
TigerSights (float x2_, float y2_, float diameter2_, String d2) {
// TigerGoogle (float x_, float y_, float diameter_) {
x2= x2_;
y2= y2_;
diameter2 = diameter2_;
date2 = d2;
}
void display () {
stroke (0);
strokeWeight (2);
noFill();
if (diameter2> 20) {
fill (255, 0, 0);
}
if (diameter2> 30) {
fill (255, 0, 255);
}
ellipse (x2, y2, diameter2, diameter2);
push();
translate(x2,height-80);
fill(0);
rotate(PI/4);
text(date2,0,0);
pop();
x2++;
}
}