Skip to main content

bezier_interpolate

Function bezier_interpolate 

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

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