Advertisement

Using the HTML5 Canvas API

  • Peter Lubbers
  • Brian Albers
  • Frank Salim

Abstract

In this chapter, we’ll explore what you can do with the HTML5 Canvas API—a cool API that enables you to dynamically generate and render graphics, charts, images, and animation. We’ll walk you through using the basics of the rendering API to create a drawing that can scale and adjust to the browser environment. We’ll show you how to create dynamic pictures based on user input in a heatmap display. Of course, we’ll also alert you to the pitfalls of using HTML5 Canvas and share tricks to overcome them.

Keywords

Diagonal Line Background Pattern Scalable Vector Graphic Canvas Operation Drawing Operation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Peter Lubbers, Brian Albers, Frank Salim 2010

Authors and Affiliations

  • Peter Lubbers
  • Brian Albers
  • Frank Salim

There are no affiliations available

Personalised recommendations