Clearing text from sketch without clearing background

Hey guys,

There is probably a really easy solution to this, but I have a sketch that I am drawing on using peril noise and a flow field of Pvectors. Each frame, lines are drawn onto the canvas. That all works fine. I am wanting to draw text on the screen also. I want to start the textSize at 0 and increment it every frame to give it the effect that it is coming at you. The text is being drawn to the screen every frame and the textSize is incrementing. However, there is a NEW text element drawn to the screen every frame. I would like the old text elements to be deleted after a new one has been drawn.

Is there another function other than clear() i could use to accomplish this?

Thanks, Dane

Answers

Sign In or Register to comment.