O'Reilly logo

HTML5 Multimedia Development Cookbook by Lee Jordan, Dale Cruse

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Developing Rich Media Applications Using Canvas

In this chapter, we will cover:

  • Setting up the canvas environment
  • Understanding the 2d rendering context
  • Processing shapes dynamically
  • Drawing borders for images using canvas
  • Rounding corners
  • Creating interactive visualizations
  • Bouncing a ball
  • Creating fallback content

Introduction

"I prefer drawing to talking. Drawing is faster, and leaves less room for lies." - Le Corbusier

This might be the most experimental chapter of this entire book. In the recipes that follow, we will really push the limits of what is possible throughout this group of recipes.

Note

Please note that over the course of time, the experimental new canvas element specifications are likely to change. Consider this group of recipes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required