Cycle through rows of external file after interval of time has elapsed
in
Programming Questions
•
2 years ago
Hello,
I'm trying to cycle through an external file and draw points after an interval has passed.
Here is my code:
- for (int row = 0; row < firstRowCount; row++) {
- if(millis() > start + 200) {
- float x = firstLocationTable.getFloat(row, 1) * 2 + 250; // column 1
- float y = firstLocationTable.getFloat(row, 2) * 2 + 100; // column 2
- ellipse(x, y, 3, 3);
- fill(192, 150, 0, 10);
- }
- }
1