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.
KeywordsFunction Init Pixel Data Game Graphic Canvas State Canvas Support
Unable to display preview. Download preview PDF.