Press Room

Press Release: December 14, 2010

Canvas Pocket Reference: Scripted Graphics for HTML5--New from O'Reilly

Canvas Pocket Reference

Request Review copy

Sebastopol, CA—The Canvas element is a revolutionary feature of HTML5 that enables powerful graphics for rich Internet applications, and this pocket reference provides the essentials you need to put this element to work. If you have working knowledge of JavaScript, Canvas Pocket Reference (O'Reilly Media, $12.99 USD) will help you create detailed, interactive, and animated graphics—from charts to animations to video games—whether you're a web designer or a programmer interested in graphics.

"The Canvas tag is a revolutionary advance in what we can do with web browsers," says author David Flanagan. "I really do think that the client-side graphics enabled by the Canvas tag has the potential to change the web. The Canvas tag is one of the most important features of HTML5. And, it's fun to program!"

"Readers will learn everything they need to know about scripted client-side graphics and will be able to draw whatever they want in their web pages: this might be scientific data visualizations, a video game, or cool special effects. In short, readers will learn to master their pixels!"

This book provides both a tutorial that covers all of the element's features with plenty of examples and a definitive reference to each of the Canvas-related classes, methods, and properties.

You'll learn how to:

  • Draw lines, polygons, and curves
  • Apply colors, gradients, patterns, and transparency
  • Use transformations to smoothly rotate and resize drawings
  • Work with text in a graphic environment
  • Apply shadows to create a sense of depth
  • Incorporate bitmapped images into vector graphics
  • Perform image processing operations in JavaScript

"The Canvas tag," Flanagan promises, "makes web programming fun again."

Speaking of fun, try David's holiday bookmarklet, a marvelous example of splendid Canvas coding.

For a review copy or more information please email Please include your delivery address and contact information.

About the Author

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include JavaScript: The Definitive Guide, JavaScript Pocket Reference, Java in a Nutshell, Java Examples in a Nutshell, and Java Foundation Classes in a Nutshell. David has a blog at

View David Flanagan's full profile page.

Additional Resources
For more information about the book, including table of contents, author bios, and cover graphic, see:

Canvas Pocket Reference Canvas Pocket Reference
Publisher: O'Reilly Media
By David Flanagan
Print ISBN: 9781449396800   Ebook ISBN: 9781449397197  
Pages: 112
Print Price: $12.99   Ebook Price: $10.99

Request Review copy

About O'Reilly

For almost 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed. Our unique network of experts and innovators share their knowledge and expertise through the company’s Safari training and learning platform and at O’Reilly conferences. As a SaaS learning platform, Safari delivers highly topical and comprehensive technology and business learning solutions to millions of users across enterprise, consumer, and university channels. For more information visit

Return to: O'Reilly Press Room

Press Contacts

Media Relations – Corporate & North America

Fama PR

Media Relations – Japan

Fumi Yamakawa
+81 3-3356-5227

Media Relations – United Kingdom

Helen Codling
+44 (0) 1252 721284