noiseField

A field of smooth noise in the chosen flavor.

noiseField(basis: NoiseBasis): Field

Import paint from shaders/std and use paint.noiseField.

Noise needs a 3D coordinate, so put it inside scaledVolume (and warped for motion).

Parameters

NameTypeNotes
basisNoiseBasis

Example

paint: rampOver(scaledVolume(noiseField('mx3'), {scale: p('scale')}), stops(p('colorSpace')))

See also

  • scaledVolume — Gives a noise field a zoomable, aspect-correct coordinate.
  • warped — Makes a field flow like liquid by bending its coordinate with moving noise.
  • tone — Reshapes a 0–1 field with glow, contrast and balance controls, then flips it.

Used by

BlockNoise, PerlinNoise, Plasma, SimplexNoise