Approximating nonparametric cubic Bezier

前端 未结 2 1357
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 22:01

What is the best way to approximate a cubic Bezier curve? Ideally I would want a function y(x) which would give the exact y value for any given x, but this would involve so

2条回答
  •  误落风尘
    2021-01-05 22:37

    Yes, de Casteljau algorithm would work for you. However, I don't know if it will be faster than solving the cubic equation by Cardano's method.

提交回复
热议问题