Canvas - Derive Quadradic Curve Control Point

I am working with JavaScript canvas, and trying to draw PART of a Quadradic curve.

My arc is defined by the points A, B, and C. I have an intersection point D

imgur

I want to make an arc between points A, X, and D that maintains the same curvature (I basically want to split the arc in half)

imgur

How do I figure out point X?

I added the green vectors by eye...is there a way to derive the new control point with the information I have available?

Posted Aug 29, 2024, 9:33 PM UTC

19

Comments aren't archived yet

This post had 9 comments on Reddit. Comments for this period haven't been loaded into the archive yet.