pub fn distance_from_impl<'a, 'b: 'a>(
    offset: &'b Point
) -> impl FnMut(&'a Point) -> f32