for_loop + delay doesn't work
in
Programming Questions
•
2 years ago
Hi guys,
i'm a newbie at processing.
i'm trying to do something like this:
-
String[] lines = loadStrings("sometext.txt");
for(i = 0; i< 18; i= i+1){text(lines[i].toUpperCase(), 15, 20, 760, 200);delay(1000);background(255);}
obviusly it's not working.
so, I looked for some help, and I realized uses the function delay is not considered a good pratice.
So, what i'm trying is change the way of to do this.
I tried put framerate(1) and did not work too.
my response is something like:
all phrases appear at the same time, and all them in the same space.
thanks.
1