The result of two years full-time work by a long-time best-selling author, this book shows you how to implement anything you can imagine with the Canvas 2D API, from text editors to video games. Geary meticulously covers every detail of the API with crystal-clear writing so that you not only understand advanced concepts, but most importantly, you can modify the book's examples for your own specific use cases. Here are some of the things you will learn about in this book: The canvas element--using it with other HTML elements, handling events, printing a canvas, and using offscreen canvases .