pub fn moved(points: &[[f32; 2]], i: usize, to: [f32; 2]) -> [f32; 2]
Point i moved to to, kept inside 0..1 and between its neighbours’ inputs.
i
to