CHAPTER 9

image

The Truth About HTML5’s Canvas, Gaming, and Flash

Canvas lets us draw programmatically on a specific area of a web page. And it can do some pretty cool things: design enhancements, visualizations, drawing/painting applications, image manipulation, and games (the visual side, at least).

Later we’ll get into the nuts and bolts of Canvas. But first let’s look at some big-picture stuff and the inevitable comparisons to Flash.

Canvas is not Flash, and comparing a single piece of web technology for (primarily) 2D graphics to a feature-rich, broadly supported client environment and a mature ecosystem of development tools is a bit apples and ...

Get The Truth About HTML5 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.