HTML5 Solutions: Essential Techniques for HTML5 Developers
by Marco Casario, Peter Elst, Charles Brown, Nathalie Wormser, Cyril Hanquez
Chapter 6. HTML5 Drawing APIs
A cool feature of HTML5 is that you have the option to dynamically render 2D shapes and bitmap images on the fly, as it now has its own native drawing API. This is a huge move for HTML, which remained fairly static and limited in this area since its creation. Now those days are over, and a new realm of possibilities is here to deal with graphics created within the HTML page itself. It is now possible to build shapes, graphs, animations, and even games without needing to rely on any external plug-in (like Flash). This brings great value when it comes to developing web pages and applications, but even more so when it comes to compatibility with mobile devices.
The drawing API is part of the new HTML5 canvas element, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access