Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would forget Bezier and go straight to Catmull Rom. They're convertible.


Why’s that? They’re convertible but not equivalent; there’s lots of things you can do with Bézier curves that you can’t do with Catmull-Rom. Manually tweaking animation curves in a timeline is something that doesn’t work with Catmull-Rom because of the lack of control over tangents. There are several other reasons but I’m curious to hear yours.

Edit to clarify, you can convert Catmull-Rom strands to Bezier strands, but you cannot generally go the other way from Bezier to Catmull-Rom and still preserve connected segments.


Except now you gave yourself the problem of not having a curve that starts and ends at your first and last point. CR are great, but they are absolutely not a "better choice" than Bezier curves in myriad applications.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: