[][src]Function simdnoise::scalar::get_1d_noise

pub unsafe fn get_1d_noise(noise_type: &NoiseType) -> (Vec<f32>, f32, f32)

Gets a width sized block of 1d noise, unscaled. start_x can be used to provide an offset in the coordinates. Results are unscaled, 'min' and 'max' noise values are returned so you can scale and transform the noise as you see fit in a single pass.