▲ | ttd 3 days ago | ||||||||||||||||
If you're not restricted to Bezier for graphics (it's a very common choice as the path primitive for vector graphics), there are other classes of curves that you may find are a better fit. In particular, I think animations typically feel better if they move at constant speed - which is nontrivial with Bezier curves because they do not have an exact closed-form arc length parameterization. Something like pythagorean hodographs could be a better fit for your application. I am not a mathematician though, so if you have other insight I'd be glad to hear it. | |||||||||||||||||
▲ | ttoinou 3 days ago | parent [-] | ||||||||||||||||
Instead of using closed form, they can easily computed with the approximation of the curve with segments, and you place the points where there is most curvature or where the 1st derivative isn't close to zero | |||||||||||||||||
|