HTML5 Canvas Cookbook

More Information
Learn
  • Learn about the fundamentals of line drawing, text drawing, shape drawing, composites, and picture drawing.
  • Work with images, video, and pixel manipulation.
  • Apply transformation effects including translations, scaling, rotations, and shearing.
  • Animate linear motions, accelerations, and oscillations, and create a particle physics simulator.
  • Extend the HTML5 Canvas API to support shape event handling for desktop and mobile applications.
  • Construct data visualizations with graphs and charts.
  • Develop your own HTML5 canvas games.
  • Create stunning 3D visualizations with WebGL.
About

The HTML5 canvas is revolutionizing graphics and visualizations on the Web. Powered by JavaScript, the HTML5 Canvas API enables web developers to create visualizations and animations right in the browser without Flash. Although the HTML5 Canvas is quickly becoming the standard for online graphics and interactivity, many developers fail to exercise all of the features that this powerful technology has to offer.

The HTML5 Canvas Cookbook begins by covering the basics of the HTML5 Canvas API and then progresses by providing advanced techniques for handling features not directly supported by the API such as animation and canvas interactivity. It winds up by providing detailed templates for a few of the most common HTML5 canvas applications—data visualization, game development, and 3D modeling. It will acquaint you with interesting topics such as fractals, animation, physics, color models, and matrix mathematics.

By the end of this book, you will have a solid understanding of the HTML5 Canvas API and a toolbox of techniques for creating any type of HTML5 Canvas application, limited only by the extent of your imagination.

Features
  • The quickest way to get up to speed with HTML5 Canvas application and game development
  • Create stunning 3D visualizations and games without Flash
  • Written in a modern, unobtrusive, and objected oriented JavaScript style so that the code can be reused in your own applications.
  • Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible

Graphics

Page Count 348
Course Length 10 hours 26 minutes
ISBN 9781849691369
Date Of Publication 25 Nov 2011

Authors

Eric Rowell

Eric Rowell is a professional web developer and entrepreneur who’s fascinated with the web industry, business, technology, and how they fit together. He’s the founder and chief editor of www.Html5CanvasTutorials.com, an HTML5 canvas resource that’s designed to complement the recipes in his book, and also the creator of the KineticJS library, a lightweight JavaScript library that extends the 2D canvas context by adding support for animations and region event handling. If you’re feeling social, you can follow him on Twitter at @ericdrowell.