How to draw an Arc through three points
Hi, I dont get the arc through that red three points. I hoped, I can do it with bezier https://code.sololearn.com/WJ3TuQj34IKv
the intersection of perpendicular bisectors of two lines (joined by joining the points ) will give you the centre of a circle on which those 3 red points lie I don't know web so I dont know how do it using code I gave you a mathematical approach I think I guessed it right what you were asking for😅
I don't know enough JS to answer this. I tried bezier() in p5.js and also quadraticCurveTo() in regular canvas, but couldn't make either of them pass through the intermediate point. The only solution that I can think of is doing some math to find the center and the radius of the circle.
curveVertex( ) https://p5js.org/reference/#/p5/curveVertex
Nice! This should work! Thanks Gordon Chan
اوافق رأي سوراب تيواري