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

Re : updating text

$
0
0
This should be in red, blinking letters in the first page of the Processing tutorial (unless it is there already): unless you make a specific, cumulative kind of sketch, always start your draw() function with a background() call (or similar).
Otherwise, everything you draw on each frame will just be drawn over the previous frames.
Note: frameRate() and textSize() calls can be safely moved to setup(): no need to repeatedly set them.

Viewing all articles
Browse latest Browse all 1768

Trending Articles