Point Sequence Interpolation

前端 未结 9 591
广开言路
广开言路 2021-01-02 07:36

Given an arbitrary sequence of points in space, how would you produce a smooth continuous interpolation between them?

2D and 3D solutions are welcome. Solutions tha

9条回答
  •  伪装坚强ぢ
    2021-01-02 08:06

    You should take a look at B-splines. Their advantage over Bezier curves is that each part is only dependent on local points. So moving a point has no effect on parts of the curve that are far away, where "far away" is determined by a parameter of the spline.

    The problem with the Langrange polynomial is that adding a point can have extreme effects on seemingly arbitrary parts of the curve; there's no "localness" like described above.

提交回复
热议问题