Printing number of lines to console
in
Programming Questions
•
2 years ago
Hey guys,
I have this short bit of code, and I need to print the number of lines it generates to the console, how do I go about that?
size(480, 120);
smooth();
strokeWeight(2);
for (int i = 20; i < 400; i += 8) {
line(i, 40, i + 60, 80);
}
Thanks alot in advance!
1