Ridged multifractal: like fbm, but each octave is folded to
1 - abs(noise), filling the field with sharp ridges - the classic mountain
range / canyon look. Given a source in [-1, 1], returns a value in [0, 1].
Parameters
sample: (frequency:number)=>number
receives an octave frequency, returns the base noise scaled by it
Ridged multifractal: like fbm, but each octave is folded to
1 - abs(noise), filling the field with sharp ridges - the classic mountain range / canyon look. Given a source in [-1, 1], returns a value in [0, 1].