So you can have your own paint program on your website. The drawing can then be uploaded to the server to be stored as an image file (default to png format), or processed as desired. The snippet gives you an option to choose what type of brush you'd like to draw with (choose from one of sixteen different and colorful options! Many bouncing balls that can be swung around with the mouse. This example demonstrates: Getting the canvas 2D context; ... Animating only when the mouse is over the Canvas; Bouncing Balls. This example demonstrates: thanks in advance. The following example shows how to make an HTML5 Canvas paint program and use colors. HTML5 added new element called CANVAS for drawing graphics using JavaScript. The HTML5