Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
frederik.dk
frederik.dk's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Printing number of lines to console
[2 Replies]
11-Jun-2011 05:50 AM
Forum:
Programming Questions
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!
«Prev
Next »
Moderate user : frederik.dk
Forum