MotionScript

@motion-script/core


@motion-script/core / FractalNoiseBasis

Type Alias: FractalNoiseBasis

FractalNoiseBasis = "value" | "simplex" | "ridged" | "worley"

Defined in: attributes/shape/fill/implementations/fractal-noise.ts:20

Which noise function the octaves are summed from.

  • 'value' — smoothed value noise. The cheapest, and the softest: clouds, haze, paper fibre, subtle mottling.
  • 'simplex' — gradient noise. More even, fewer axis-aligned artefacts than value noise, and the right default for anything organic seen up close.
  • 'ridged' — simplex folded about zero and inverted, so the zero crossings become sharp crests. Mountains, lightning, veins, marble.
  • 'worley' — cellular (Voronoi) distance. Not a sum of smooth octaves but a distance field, so it gives edges rather than blur: scales, cracked earth, caustics, stained glass.