• Public
  • Public/Protected
  • All

Interface PerlinOptions

Options for the perlin noise generator


  • PerlinOptions



Optional amplitude

amplitude: number

The amplitude determines the relative height of the peaks generated in the noise.

Optional frequency

frequency: number

Frequency to use when generating the noise, the higher the number the more quickly the pattern will oscillate. Another way to think about this is that it is like "zooming" out from an infinite pattern determined by the seed.

Optional octaves

octaves: number

Number of octaves to use when generating the noise, the number of octaves is the number of times the perlin noise is generated and laid on top of itself. Using higher values can increase the curviness of the noise, and make it look more natural.

Optional persistance

persistance: number

The persistance determines how quickly the amplitude will drop off, a high degree of persistance results in smoother patterns, a low degree of persistance generates spiky patterns.

Optional seed

seed: number

Random number seed for the Perlin noise generator