1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 03:30:34 +02:00

catmull rom

This commit is contained in:
Pomax
2020-09-03 20:08:21 -07:00
parent bb5adcaebd
commit d2992ebd15
31 changed files with 417 additions and 353 deletions

View File

@@ -0,0 +1,7 @@
# Creating a Catmull-Rom curve from three points
Much shorter than the previous section: we saw that Catmull-Rom curves need at least 4 points to draw anything sensible, so how do we create a Catmull-Rom curve from three points?
Short and sweet: we don't.
We run through the maths that lets us [create a cubic Bézier curve](pointcurves), and then convert its coordinates to Catmull-Rom form using the conversion formulae we saw above.