Using html canvas to draw a speedometer.