Skip to main content

make_moons

Function make_moons 

Source
pub fn make_moons(n: usize, noise: f64, seed: u64) -> (R2D, Vec<usize>)
Expand description

Two interleaving half circles (“moons”): n points per moon with Gaussian noise.