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

◆ inoise16() [1/4]

uint16_t inoise16 ( uint32_t x)
extern

16-bit, fixed point implementation of Perlin's noise.

See also
inoise16_raw()
Returns
scaled noise value as an unsigned integer, 0-65535
Parameters
xx-axis coordinate on noise map (1D)

Definition at line 571 of file noise.cpp.

571 {
572 return ((uint32_t)((int32_t)inoise16_raw(x) + 17308L)) << 1;
573}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
int16_t inoise16_raw(uint32_t x, uint32_t y, uint32_t z)
16-bit, fixed point implementation of Perlin's noise without scaling.
Definition noise.cpp:344

References inoise16_raw(), and x.

+ Here is the call graph for this function: