FastLED 3.10.8
Loading...
Searching...
No Matches

◆ inoise16() [1/4]

fl::u16 inoise16 ( fl::u32 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 568 of file noise.cpp.hpp.

568 {
569 return ((fl::u32)((fl::i32)inoise16_raw(x) + 17308L)) << 1;
570}
int x
Definition simple.h:92
fl::i16 inoise16_raw(fl::u32 x, fl::u32 y, fl::u32 z) FL_NO_EXCEPT
16-bit, fixed point implementation of Perlin's noise without scaling.

References FL_NO_EXCEPT, inoise16_raw(), and x.

+ Here is the call graph for this function: