Hacker News with Generative AI: Curve Fitting

Fitting Cubic Bézier Curves (raphlinus.github.io)
Cubic Béziers are by far the most common curve representation, used both for design and rendering. One of the fundamental problems when working with curves is curve fitting, or determining the Bézier that’s closest to some source curve.
Curve Families (linebender.org)
This graph has an arrow when one curve family fully includes the parameter space of another. A dotted line represents an approximation which is better than can be expected from scaling based on the number of parameters.