start with a fresh HTML5 canvas
the following code clears the canvas on a button click
context.clearRect(0, 0, context.canvas.width, context.canvas.height); //
Clears
but, When I try to redraw on it, The old drawing appears which I don't
want it to. I want to start painting on a fresh blank canvas
http://jsfiddle.net/umwc5/
How do I achieve that?
No comments:
Post a Comment