All examples By author By category About

nitaku

Catmull-Rom Curves (canvas)

A canvas rendering of parametrized Catmull-Rom curves, adapted from Mike Bostock's example to show more values of the alpha parameter. As in the original example, green corresponds to uniform (alpha = 0), blue to centripetal (alpha = 0.5) and red to chordal (alpha = 1) parametrization.