Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
bugincup
bugincup's Profile
2
Posts
14
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
write txt from stringBuffer
[14 Replies]
05-Apr-2013 07:34 AM
Forum:
Programming Questions
Hi there!
I need to write alot of strings to a textfile from stringBuffer prm;
I did:
saveStrings("data.txt", prm);
but is says:
"It looks like you're mixing "active" and "static" modes.
Is this because of the stringBuffer?
Hope you can help!
translate in a for loop
[16 Replies]
26-Mar-2013 09:19 AM
Forum:
Programming Questions
Hello there!
Maybe a weird question, but is it possible to do this:
size(121, 121);
rect(0, 0, 40, 40);
for(int x = 0; x < width; x+=40) {
for ( int y = 0; y < height; y+=40) {
rect(x, y, 40, 40);
}
}
...with the translate() function
I tried this:
size(121, 121);
rect(0, 0, 40, 40);
for(int x = 0; x < width; x+=40) {
for ( int y = 0; y < height; y+=40) {
translate(x, y);
rect(0, 0, 40, 40);
}
}
but it's not the result I'm looking for!
Thanks for helping!
«Prev
Next »
Moderate user : bugincup
Forum