From 728f81e588449e953c56015501d38f1dbf0253cb Mon Sep 17 00:00:00 2001 From: shuklaaryan367-byte Date: Mon, 12 Jan 2026 12:43:07 +0530 Subject: [PATCH] Fix noiseDetail docs to mark falloff as optional --- src/math/noise.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/noise.js b/src/math/noise.js index b1383efdd0..14ac4de740 100644 --- a/src/math/noise.js +++ b/src/math/noise.js @@ -348,7 +348,7 @@ p5.prototype.noise = function(x, y = 0, z = 0) { * * @method noiseDetail * @param {Number} lod number of octaves to be used by the noise. - * @param {Number} falloff falloff factor for each octave. + * @param {Number} [falloff=0.5] falloff factor for each octave. * * @example *