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, ...
Get HTML5 Solutions: Essential Techniques for HTML5 Developers 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.