The following is javascript-like pseudo-code that computes a series of (up to) cubic bezier curves that together combine to achieve one smooth curve passign through given points. See more hereįor stitching together cubic bezier curves that interpolate (more like natural cubic splines) see below original answer. It may be beter to use Catmull-Rom Interpolating Spline instead, which both interpolates and has local control property.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |