Struct simdnoise::FractalSettings[][src]

pub struct FractalSettings {
    pub freq: f32,
    pub lacunarity: f32,
    pub gain: f32,
    pub octaves: u8,
    pub noise_type: NoiseType,
}

Contains parameters for noise functions. When using Normal noise, only frequency is used.

Fields

Higher frequency will appear to 'zoom' out, lower will appear to 'zoom' in. A good starting value for experimentation is around 0.05

Lacunarity affects how the octaves are layered together. A good starting value to experiment with is 0.5, change from there in 0.25 increments to see what it looks like.

Gain affects how the octaves are layered together. A good starting value is 2.0

Specifies how many layers of nose to combine. More octaves can yeild more detail and will increase runtime linearlly.

The type of noise to generate.

Trait Implementations

impl Copy for FractalSettings
[src]

impl Clone for FractalSettings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations