Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Refresh displayed text based on condition?

$
0
0


I think println is done instantly by processing while the screen (so text() as well) is only updated once
at the end of draw()

since your delay that's only after 5 seconds

draw() itself runs 60 times per sec unless stopped as in your case.

So consider throw out delay

and consider to put loadString into setup() because it's very time consuming

           

Viewing all articles
Browse latest Browse all 1768

Trending Articles