noiseDetail()

Math / Random

Description

Adjusts the character and level of detail produced by the Perlin noise function.

Syntax

void noiseDetail(int octaves, float falloff)

Parameters

NameTypeDescription
octavesintnumber of octaves (1-8 typical)
fallofffloatfalloff factor for each octave (default 0.5)

Returns

void

Related

Under the Hood

From Processing.h:

void noiseDetail(int octaves, float falloff=0.5f);

Under the Hood

From Processing.cpp:

void PApplet::noiseDetail(int o, float f) { noiseOctaves = o; noiseFalloff = f; }