Curve fitting a series of line segments
问题 There are a lot of curve fitting questions on SO but I can't seem to find one that addresses what I'm looking for. The scenario is simple: I capture X/Y points on a tablet screen. I'd like to draw the resulting line segments as a smooth curve instead of a series of line segments. Many apps do this, for example: Penultimate (sketching demo at 0:36) or Autodesk Sketchbook. Bezier curve algorithms take a fixed number of points to draw a curve and don't seem to work well with numerous multiple