Enum simdnoise::NoiseType[][src]

pub enum NoiseType {
    Fbm {
        freq: f32,
        lacunarity: f32,
        gain: f32,
        octaves: u8,
    },
    Turbulence {
        freq: f32,
        lacunarity: f32,
        gain: f32,
        octaves: u8,
    },
    Ridge {
        freq: f32,
        lacunarity: f32,
        gain: f32,
        octaves: u8,
    },
    Normal {
        freq: f32,
    },
}

Specifies what type of noise to generate and contains any relevant settings.

Variants

Fractal Brownian Motion

Fields of Fbm

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.

Turbulence aka Billow

Fields of Turbulence

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.

Rige Noise

Fields of Ridge

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.

Simplex Noise

Fields of Normal

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

Trait Implementations

impl Copy for NoiseType
[src]

impl Clone for NoiseType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for NoiseType

impl Sync for NoiseType