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
Fbm
Fractal Brownian Motion
Fields of Fbm
freq: f32 | Higher frequency will appear to 'zoom' out, lower will appear to 'zoom' in. A good starting value for experimentation is around 0.05 |
lacunarity: f32 | 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: f32 | Gain affects how the octaves are layered together. A good starting value is 2.0 |
octaves: u8 | Specifies how many layers of nose to combine. More octaves can yeild more detail and will increase runtime linearlly. |
Turbulence
Turbulence aka Billow
Fields of Turbulence
freq: f32 | Higher frequency will appear to 'zoom' out, lower will appear to 'zoom' in. A good starting value for experimentation is around 0.05 |
lacunarity: f32 | 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: f32 | Gain affects how the octaves are layered together. A good starting value is 2.0 |
octaves: u8 | Specifies how many layers of nose to combine. More octaves can yeild more detail and will increase runtime linearlly. |
Ridge
Ridge Noise
Fields of Ridge
freq: f32 | Higher frequency will appear to 'zoom' out, lower will appear to 'zoom' in. A good starting value for experimentation is around 0.05 |
lacunarity: f32 | 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: f32 | Gain affects how the octaves are layered together. A good starting value is 2.0 |
octaves: u8 | Specifies how many layers of nose to combine. More octaves can yeild more detail and will increase runtime linearlly. |
Normal
Simplex Noise
Fields of Normal
freq: f32 | Higher frequency will appear to 'zoom' out, lower will appear to 'zoom' in. A good starting value for experimentation is around 0.05 |