for (var theta = 0; theta <= Math.PI * 2; theta += Math.PI/256) { drawPoint( Math.cos(theta) * (W/2) + X, Math.sin(theta) * (H/2) + Y ); }