In the past two years, since the release of this book, usage of the HTML5 Canvas has
grown by leaps and bounds. The original edition of this book was one of the first publications
dedicated to the Canvas. While we were proud to get out of the gate fast, it also
meant that we had to do a lot of research and exploration of our own. Back in 2011,
there were only a handful of examples of HTML5 Canvas applications, and still fewer
tutorials. In 2013, the landscape has changed. There are many resources to choose from
regarding the HTML5 Canvas, from frameworks and APIs to dedicated websites and
books. To create this second edition, we took a hard look at what worked and what did
not work the first time around. The following sections describe some of the exciting
changes and updates that you can look forward to within these pages.
Flash is fading fast as Canvas continues to climb. The second edition of this popular book gets you started with HTML5 Canvas by showing you how to build interactive multimedia applications. You’ll learn how to draw, render text, manipulate images, and create animation—all in the course of building an interactive web game throughout the book.
Updated for the latest implementations of Canvas and related HTML5 technologies, this edition includes clear and reusable code examples to help you quickly pick up the basics—whether you currently use Flash, Silverlight, or just HTML and JavaScript. Discover why HTML5 is the future of innovative web development.
-
Create and modify 2D drawings, text, and bitmap images
-
Use algorithms for math-based movement and physics interactions
-
Incorporate and manipulate video, and add audio
-
Build a basic framework for creating a variety of games
-
Use bitmaps and tile sheets to develop animated game graphics
-
Go mobile: build web apps and then modify them for iOS devices
-
Explore ways to use Canvas for 3D and multiplayer game applications