block by nitaku c1dab6ab1366029276d7

Catmull-Rom Curves (canvas)

Full Screen

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.

index.js

index.html

d3_shape.js

index.coffee

index.css