catmull
catmull()
Draws a Catmull-Rom curve through a set of points.
Styling
Root: catmull
Supports marks.
Anchors
Supports path anchors.
- pt-n
- The nth given position (0 indexed so “pt-0” is equal to “start”)
catmull((0,0), (1,1), (2,-1), (3,0), tension: .4, stroke: blue)
catmull((0,0), (1,1), (2,-1), (3,0), tension: .5, stroke: red)
..pts-style:
coordinate or style
Positional arguments should be coordinates that the curve should pass through. Named arguments are for styling.