Skip to main content

open_catmull_with_arrow

Function open_catmull_with_arrow 

Source
pub fn open_catmull_with_arrow(
    pts: &[(f64, f64)],
    head: f64,
) -> (String, (f64, f64), (f64, f64), (f64, f64))
Expand description

Shaft + arrow from the same controls: tip is the last vertex, base is that point pulled back along the last chord. The shaft interpolates base.

Head and shaft share those two points. No SVG d is consulted.