HTML5 Solutions: Essential Techniques for HTML5 Developers
by Marco Casario, Peter Elst, Charles Brown, Nathalie Wormser, Cyril Hanquez
Chapter 7. HTML5 Canvas
We saw in the previous chapter how to use the HTML5 canvas drawing API. We will now manipulate canvas a bit more deeply and see how it can be used for rendering graphs, game graphics, or other visual images on the fly. As you learned previously, canvas is a rectangular area that you can add to your HTML5 page and that you can use to render and manipulate graphics through several available methods. In this chapter, you will see what you can do with canvas and its other APIs.
Apple initially created the canvas element to make dashboard widgets in its Safari browser with the use of the Mac OSX WebKit. Later it was adopted by other browsers and eventually became a standard accepted by the WHATWG (Web Hypertext Application Technology ...
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