O'Reilly logo

HTML5 Web Application Development By Example Beginner's guide by J.M. Gustafson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Canvas pad

Now that we know the basics of the canvas API, let's use our newfound knowledge to create a drawing application called canvas pad. We'll start off with an application that draws black lines, like drawing with a pen on paper. Then we will add a toolbar and menus so that the user can change options such as width, opacity, color, and select different drawing tools.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required