Canvas Playground

Your browser does not support HTML5 canvas.

The only code difference between the two colored circles is the lineWidth. Note how the thick one affects the size of the fill color.

Canvas tutorial: Drawing shapes

Canvas Playground index