FastLED 3.9.15
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 530 of file noise.cpp.hpp.

530 {
531 return ((fl::u32)((fl::i32)inoise16_raw(x) + 17308L)) << 1;
532}
int x
Definition simple.h:92
fl::i16 inoise16_raw(fl::u32 x, fl::u32 y, fl::u32 z)

References inoise16_raw(), and x.

+ Here is the call graph for this function: