Recent articles

HTML5 Canvas

HTML5 Canvas: Shadows 0

HTML5 Canvas: Shadows

In this post, I shall be looking at applying shadows to shapes and text within a Canvas. Shadows can be applied to any shape and can be given a colour, offset from the shape they are applied to and the blur of the shadow controlled.

Read full article
HTML5 Canvas

HTML5 Canvas: Gradients 0

HTML5 Canvas: Gradients

In this post, I’m going to look at linear and radial gradients and the methods required to apply them as a fill to various different shapes within a Canvas. Gradients are very versatile; they can include multiple colour stops and be positioned within a shape.

Read full article
Site news

New blog theme! 0

New blog theme - April 2012

I’ve been busy creating a new blog theme which is up now, but during transition of the posts to fit in with it, some bits and pieces may not look all that awesome right now, but I’ll get to fixing them shortly!

HTML5 Canvas

HTML5 Canvas: Styles 0


Here I’m going to experiment with adding different styles onto shapes and lines within a Canvas – looking at colour fills, opacity of fills, outlines/borders and linejoins and linecaps for lines and outlines.

Read full article