I'm trying to draw a circle on my canvas, but it's coming out jagged.
Here's how I'm drawing the ellipse:
ctx.ellipse(currX + room.location[0], currY + room.location[1], radius, radius, 0, 0, 2 * Math.PI)
Here's what I've tried to fix the issue with:
ctx.imageSmoothingEnabled = true;
ctx.imageSmoothingQuality = 'high';
ctx.filter = 'best';
ctx.antialias = 'subpixel';
Please login or Register to submit your answer