Bézier curve fitting with SciPy

后端 未结 7 596
醉酒成梦
醉酒成梦 2020-12-04 19:57

I have a set of points which approximate a 2D curve. I would like to use Python with numpy and scipy to find a cubic Bézier path which approximately fits the points, where I

相关标签:
7条回答
  • 2020-12-04 20:46

    What Mike Kamermans said is true, but I also wanted to point out that, as far as I know, catmull-rom splines can be defined in terms of cubic beziers. So, if you only have a library that works with cubics, you should still be able to do catmull-rom splines:

    • http://schepers.cc/getting-to-the-point
    • https://github.com/DmitryBaranovskiy/raphael/blob/master/dev/raphael.core.js#L1038
    0 讨论(0)
提交回复
热议问题