Telling the user to use a different browser that supports canvas does not help users who can't read the canvas at all, for example. Providing a useful fallback text or sub DOM helps to make the canvas more accessible.
The angles in arc are measured in radians, not degrees, where radians = (Math.PI/180) * degrees
Random notes
width
andheight
for<canvas>
resize, don't use CSS otherwise it could be distorted.<canvas>
Telling the user to use a different browser that supports canvas does not help users who can't read the canvas at all, for example. Providing a useful fallback text or sub DOM helps to make the canvas more accessible.
The angles in
arc
are measured in radians, not degrees, whereradians = (Math.PI/180) * degrees