Answer the question
In order to leave comments, you need to log in
How to draw correct circle on canvas?
Hello, I'm new to canvas. In general, there is a block, width 80% relative to the window, height 400px. Inside the canvas, with a width and height of 100%. drew a circle
ctx.beginPath();
ctx.arc(50, 50, 50, 0, 2 * Math.PI, false);
ctx.stroke();
Answer the question
In order to leave comments, you need to log in
but when saving the drawing, it renders the correct circle.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question