Class

GKCoherentNoiseSource

The abstract superclass for procedural noise generators that create coherent noise.

Declaration

class GKCoherentNoiseSource : GKNoiseSource

Overview

In general, noise is randomness across a (one-, two-, three-, or many-dimensional) domain—for example, you can create noise by filling an image with values from a random number generator. Unlike such truly random noise, coherent noise is consistent and smooth: you can always generate the same output from a specific seed value, and small variations across the domain create only small variations in noise values.

You don’t instantiate or work directly with this class. Instead, the concrete subclasses of GKCoherentNoiseSource each provide a different style of coherent noise.

Topics

Managing Noise Generation Parameters

var frequency: Double

A value that determines the size and spacing of features in generated noise.

var octaveCount: Int

The number of octaves of the underlying noise function to use for generating noise.

var lacunarity: Double

The rate at which successive octaves of the noise function increase in frequency.

var seed: Int32

The value that determines the specific configuration of noise produced by the noise source.

Relationships

Inherits From

Conforms To

See Also

Procedural Noise

class GKNoiseSource

The abstract superclass for procedural noise generators.

class GKNoise

A representation of procedural noise, generated by a noise source, that you can use to process, transform, or combine noise.

class GKNoiseMap

A sample of procedural noise data from which you can read noise values directly or create noise textures.

class GKBillowNoiseSource

A procedural noise generator whose output is a type of fractal coherent noise with smooth features.

class GKPerlinNoiseSource

A procedural noise generator whose output is a type of fractal coherent noise resembling natural phenomena such as clouds and terrain.

class GKRidgedNoiseSource

A procedural noise generator whose output is a type of multifractal coherent noise with sharply defined features.

class GKVoronoiNoiseSource

A procedural noise generator whose output (also called Worley noise or cellular noise) divides space into discrete cells surrounding random seed points.

class GKCylindersNoiseSource

A procedural noise generator whose output is a 3D field of concentric cylindrical shells.

class GKSpheresNoiseSource

A procedural noise generator whose output is a 3D field of concentric spherical shells.

class GKCheckerboardNoiseSource

A procedural noise generator whose output is an alternating square pattern.

class GKConstantNoiseSource

A procedural noise generator that outputs a field of a single constant value.