A noise function based on Inigo Quilez function. The u and v parameters control the amount of jitter and the amount of noise. jitter=0,smoothness=0 produces a minimum distance non jittered grid of values. jitter=0,smoothness=1 gives a noise function. jitter=1,smoothness=0 produces a jittered, minimum distance Voronoi pattern. jitter=1,smoothness=1 produces a a combination of jittered Voronoi and noise also called 'voronoise'. Note, this version adds fractal octaves and turbulence. @parameters
surfacePosition: If you want your displacement pattern to match surface shading, use the undisplaced position. This is only active when there is no connected manifold.
frequency: Sets the lowest (starting) frequency of the noise layers.
octaves: The number of noise octaves used. More octaves add successively more noise.
gain: Also known as persistence. Used to shrink or expand the amplitude of each successive octave of noise. 1/f noise is achieved when gain = 1/lacunarity
lacunarity: The scaler used to determine the frequency of each sucessive octave of noise. Smaller numbers will cause the layers to be more closely spaced in frequency. Larger values will space them further apart.
jitter: Controls the amount of jitter applied. 0 gives regular grid, 1 gives a Voronoi like grid
smoothness: 0 produces a voronoi/cellnoise pattern, 1 results in smooth noise.
turbulent: Should the noise be turbulent
manifold: The manifold over which to apply the noise. (The default is P).