Color legend plain property
The frequency, octaves, lacunarity and gain of a FractalNoise.
A sealed record: plain data that can sit in a settings file, equal to any other settings with the same values, and changed with with, as in FractalSettings.Default with { Octaves = 6 }. The noise page shows it in context, with pictures.
Names are colored by what they are: a property.
Properties
Default →
FractalSettings · Static. The settings at their defaults, one shared instance: a frequency of 1/32, four octaves, a lacunarity of 2 and a gain of 0.5. new FractalSettings() is equal to it.
Frequency →
double · Init-only. The cells per world unit of the first octave, which sets the size of the large shapes: 1/32 gives features about 32 units across. 1.0 / 32 by default. Must be a finite number above 0.
Gain →
double · Init-only. The amplitude of each octave over that of the one before, also called persistence. Lower is smoother, higher is rougher. 0.5 by default. Must be a finite number above 0.
Lacunarity →
double · Init-only. The frequency of each octave over that of the one before: 2 doubles it each time. 2 by default. Must be a finite number above 0.
Octaves →
int · Init-only. The number of octaves, 1 to FractalNoise.MaxOctaves. Each adds finer detail and costs one more sample. 4 by default.