How This Book Is Organized

This book is organized into 11 chapters. All the chapters in the second edition have been updated, revised, and expanded. The first four chapters step you through the HTML Canvas API by example. The topics covered include text, images, and drawing. These chapters contain a few finished apps, but for the most part consist of demos designed to show you the facets of the Canvas API. The next six chapters build upon the Canvas API by expanding the scope of the examples to application length. In these chapters, we discuss math and physics applications, video, audio and games, and mobile. The final chapters introduce a few experimental areas: 3D, multiplayer, Windows 8, and a Canvas object model.

What you won’t get in this book is a simple run-down and retelling of the published W3C Canvas API. While we cover portions of the API in detail, some of it is not applicable to games. However, if you want to explore the API further, you can find it at this site.

Instead, we want to bring to light the ways the Canvas can be used to create animation, games, and entertainment applications for the Web and mobile web.

Get HTML5 Canvas, 2nd Edition 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.