FastLED 3.9.15
Loading...
Searching...
No Matches

◆ NOISE16_EXTENT_MIN

u16 fl::NOISE16_EXTENT_MIN = 9000
constexpr

Observed min/max extents for inoise16() output.

These values represent the practical range of the Perlin noise function across all radius and parameter combinations, optimized to maximize color coverage. Used for rescaling 16-bit noise output to span the full 16-bit range (0 to 65535).

Note
Determined by comprehensive stress testing with 100k+ random samples at radius=1.0 and 100k samples (10 trials × 10k each) at extreme radius=1000. Bounds [9000, 59500] capture ~98%+ hue coverage across all test conditions, ensuring no significant color bands are lost even at extreme radius values.
See also
noiseRingHSV16(), noiseRingCRGB(), noiseSphereHSV16(), noiseSphereCRGB()

Definition at line 22 of file noise.h.

Referenced by rescaleNoiseValue16().