Meet the Guide Editor
Canvas Element Contributors

The complete guide to the HTML5 canvas element

html5 logoThe canvas element is part of the HTML 5 standard, and it provides a way for web browsers to draw 2D shapes, bitmaps and text directly at the pixel level. This allows for graphically complex applications, like games, to be created for and run by web browsers without the need for any third party plugins. All modern web browsers have support for the canvas element, and versions of Internet Explorer previous to IE9 can use Chrome Frame to render HTML5 enabled web sites.

This guide provides an introduction to the canvas element, and provides several tutorials that show you how to create games using JavaScript and the canvas element.

Latest Articles on Canvas Element
Creating the Game Framework

Now that we have seen how the canvas element can be used, it's time to start creating the framework that will be used as the basis of the final game. In part one we look at the...

Defining a level

The last article showed what that final game would look like with an animated character you could control and a scrolling parallax background. Lets see how to add some obstacles for...

Animations

Here we add the ability to display animated objects on the HTML canvas element...

Advanced Image Manipulations with the Canvas Element

Learn how to manipulate images in ways that were not previously possible using JavaScript and the canvas element....

Most Popular Articles on Canvas Element
  •  
    Animations

    Here we add the ability to display animated objects on the HTML canvas element...

  •  
    Drawing an Image to the Canvas with JavaScript

    See how to draw to and animate the canvas element using JavaScript, with step by step example code and live demo application....

  •  
    Advanced Image Manipulations with the Canvas Element

    Learn how to manipulate images in ways that were not previously possible using JavaScript and the canvas element....

  •  
    An Introduction to the Canvas Element

    The canvas element, along with some advancements in JavaScript engines, gives web developers the opportunity to create detailed and interactive 2D HTML web pages without any 3rd party plugins. This article...

  •  
    Creating the Game Framework

    Now that we have seen how the canvas element can be used, it's time to start creating the framework that will be used as the basis of the final game. In part one we look at the first two classes/files...

More About Canvas Element
Drawing an Image to the Canvas with JavaScript

See how to draw to and animate the canvas element using JavaScript, with step by step example code and live demo application....

An Introduction to the Canvas Element

The canvas element, along with some advancements in JavaScript engines, gives web developers the opportunity to create detailed and interactive 2D HTML web pages without any 3rd party...