ridgedField

function ridgedField
field.ts:360
ridgedField(seed: Seed, x: number, y: number, z: number, options: Partial<FieldOptions>) → FieldSample

Ridged multifractal with its gradient, in roughly [-1, 1].

(1 - |n|)² per octave, which is the fold that turns a smooth maximum into a crest. The derivative follows through the fold: d/dp (1-|n|)² = -2(1-|n|)·sign(n)·∇n, so a ridge line reports the slope of the face it is on rather than the slope of the noise underneath it.

seedSeed
Undocumented
xnumber
Undocumented
ynumber
Undocumented
znumber
Undocumented
optionsPartial<FieldOptions>
Undocumented

Generated from the source of @inertialref/procedural and its comments. Nothing on this page is written by hand.