Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Clear the canvas.
- context.clearRect(0, canvas.width, canvas.height);
- /* Where context is a CanvasCanvasRenderingContext2D object
- assigned via canvas.getContext("2d"); and canvas is
- a canvas element. */
Add Comment
Please, Sign In to add comment