HTML5 canvas- use a function to clear an image that has been drawn to the canvas
The problem I have, is that the image drawn by the first function is still on the canvas when the elements drawn by the second function appear. I want to include a call to canvas.remove(image drawn by first function), at the start of my second function, but I'm not sure how I would do this- what the command I would need to call is, or the syntax of it.
Can anyone help?
Check this: HTML5 Canvas Tutorials
(...may be it shall help!)
"It will never rain roses: when we want to have more roses, we must plant more roses."
- George Eliot
Thanks, I managed to get it working.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)