The second edition of this popular book gets you started with HTML5 Canvas. Learn how to draw, render text, manipulate images, and create animation—all in the course of building several interactive web games throughout the book.
This online version of HTML5 Canvas includes 53 interactive examples and exercises. In Chapter 10, you’ll create a canvas version of an arcade classic, Retro Blaster, shown below. Move your ship with the mouse or your finger, and shoot the aliens traveling across the screen.
Purchase the DRM-free ebook on oreilly.com, which includes downloadable PDF, EPUB, and Mobi versions of the book, as well as free, lifetime updates.