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, this book 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.Canvas Pocket Reference 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 curvesApply colors, gradients, patterns, and transparencyUse transformations to smoothly rotate and resize drawingsWork with text in a graphic environmentApply shadows to create a sense of depthIncorporate bitmapped images into vector graphicsPerform image processing operations in JavaScript