Skip to main content

bezier_derivative

Function bezier_derivative 

pub fn bezier_derivative(
    start: f64,
    control_1: f64,
    control_2: f64,
    end: f64,
    t: f64,
) -> f64
Expand description

Returns the derivative at the given t on a one-dimensional Bézier curve defined by the given control_1, control_2, and end points.