CHAPTER 4
Canvas
When HTML5 was first announced, the feature that drew the most excitement was probably the new canvas element—an area on the page upon which you can draw bitmap graphics using the various commands present in the drawing context API. This meant that for the first time there was an official way to create dynamic graphics with JavaScript.
The canvas element was originally created by Apple in 2004 as a proprietary addition to WebKit. It was later adopted by other browser manufacturers, and then by the W3C as a part of HTML5. Today, canvas enjoys wide support in modern browsers.
SUPPORT LEVEL
Excellent
All modern browsers have supported ...
Get HTML5 Programmer’s Reference 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.