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, currY + room.location, 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';