Using HTML 5 canvas to paint pretty shapes