HTML5 Canvas Cookbook

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.

Type
ebook
Category
publication date
2011-11-25
what you will 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.

no of pages
348
duration
696
key 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
approach
Written in cookbook style, this book offers a wide array of techniques for building HTML5 Canvas applications. Each recipe contains step-by-step instructions followed by analysis of what was done in each task and other useful information. The book is designed so that you can read it chapter by chapter, or you can look at the list of recipes and refer to them in no particular order.
audience
This book is geared towards web developers who are familiar with HTML and JavaScript. It is written for both beginners and seasoned HTML5 developers with a good working knowledge of JavaScript.
meta description
Over 80 recipes to revolutionize the Web experience with HTML5 Canvas
subtitle
Over 80 recipes to revolutionize the Web experience with HTML5 Canvas
keywords
html5, html5 canvas, canvas, web graphics, animation canvas, animation html5, html5 graphics, web Development, 3d animation in html5, 3d html5, html5 video, html5 games
Product ISBN
9781849691369