pub fn leap_target( current: [f32; 2], neighbors: &[(NodeId, [f32; 2])], dir: Direction, cycle: usize, ) -> Option<NodeId>
Pure resolver: pick the cycle-th candidate in dir (wrapping).
cycle
dir