Canvas

A drawing surface - created with HTML 'canvas' tag:

    <canvas id="myCanvas" width="500" height="500">

Get a context for access to the drawing functions:

    c = document.getElementById('myCanvas');
    ctx = c.getContext('2d');

Functions include:

Attributes include: