game::sandbox::time_warp

Function area_under_curve

Source
fn area_under_curve(
    raw: Vec<(Time, usize)>,
    width: f64,
    height: f64,
) -> Result<Polygon>