Chapter 12. Drawing with HTML5
In the past, the most common method for drawing on a webpage was by using Adobe Flash. As the quest to create browsers that don’t require plug-ins to display multimedia continues, a large gap in functionality has been filled with the ability to draw in HTML5 by using the <canvas> element and to create and display Scalable Vector Graphics (SVG) by using the <svg> element.
Although Adobe Flash still provides more functionality than the <canvas> element, you might find that the <canvas> element is all you need and that you don’t need to add a third-party product to your application.
SVG is a language by which to define two-dimensional graphics in XML, and the XML can be rendered by the browser by using the <svg> element. ...
Get Training Guide: Programming in HTML5 with JavaScript and CSS3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.