pub fn curve<F: FnMut(f64) -> f64>(
    p0: Point,
    p1: Point,
    _p2: Point,
    x_map: &dyn Map,
    y_map: &dyn Map,
    delta: f64,
    flip: bool,
    color: Color,
    f: F
) -> Object