32extern fl::u16
inoise16(fl::u32
x, fl::u32
y, fl::u32
z, fl::u32
t);
36extern fl::u16
inoise16(fl::u32
x, fl::u32
y, fl::u32
z);
127fl::u16
snoise16(fl::u32
x, fl::u32
y, fl::u32
z, fl::u32 w);
172void fill_raw_2dnoise8(
fl::u8 *pData,
int width,
int height,
fl::u8 octaves,
fl::q44 freq44,
fract8 amplitude,
int skip, fl::u16
x, fl::i16 scalex, fl::u16
y, fl::i16 scaley, fl::u16 time);
197void fill_raw_2dnoise16(fl::u16 *pData,
int width,
int height,
fl::u8 octaves,
fl::q88 freq88,
fract16 amplitude,
int skip, fl::u32
x, fl::i32 scalex, fl::u32
y, fl::i32 scaley, fl::u32 time);
204void fill_raw_2dnoise16into8(
fl::u8 *pData,
int width,
int height,
fl::u8 octaves,
fl::q44 freq44,
fract8 amplitude,
int skip, fl::u32
x, fl::i32 scalex, fl::u32
y, fl::i32 scaley, fl::u32 time);
236 fl::u16 time,
fl::u8 hue_shift=0);
fl::UISlider scale("Scale", 4,.1, 4,.1)
Defines the hue, saturation, and value (HSV) pixel struct.
CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2)
Functions to generate noise patterns on rings and spheres.
Integer mapping functions between different integer sizes.
qfx< u16, 8, 8 > q88
A 8.8 integer (8 bits integer, 8 bits fraction)
qfx< u8, 4, 4 > q44
A 4.4 integer (4 bits integer, 4 bits fraction)
void fill_raw_2dnoise16into8(fl::u8 *pData, int width, int height, fl::u8 octaves, fl::u32 x, fl::i32 scalex, fl::u32 y, fl::i32 scaley, fl::u32 time)
Fill a 2D 8-bit buffer with noise, using inoise16()
void fill_2dnoise8(CRGB *leds, int width, int height, bool serpentine, fl::u8 octaves, fl::u16 x, int xscale, fl::u16 y, int yscale, fl::u16 time, fl::u8 hue_octaves, fl::u16 hue_x, int hue_xscale, fl::u16 hue_y, fl::u16 hue_yscale, fl::u16 hue_time, bool blend)
Fill an LED matrix with random colors, using 8-bit noise.
void fill_noise8(CRGB *leds, int num_leds, fl::u8 octaves, fl::u16 x, int scale, fl::u8 hue_octaves, fl::u16 hue_x, int hue_scale, fl::u16 time)
Fill an LED array with random colors, using 8-bit noise.
void fill_raw_2dnoise16(fl::u16 *pData, int width, int height, fl::u8 octaves, fl::q88 freq88, fract16 amplitude, int skip, fl::u32 x, fl::i32 scalex, fl::u32 y, fl::i32 scaley, fl::u32 time)
Fill a 2D 16-bit buffer with noise, using inoise16()
void fill_raw_noise8(fl::u8 *pData, fl::u8 num_points, fl::u8 octaves, fl::u16 x, int scalex, fl::u16 time)
Fill a 1D 8-bit buffer with noise, using inoise8()
void fill_noise16(CRGB *leds, int num_leds, fl::u8 octaves, fl::u16 x, int scale, fl::u8 hue_octaves, fl::u16 hue_x, int hue_scale, fl::u16 time, fl::u8 hue_shift=0)
Fill an LED array with random colors, using 16-bit noise.
void fill_raw_2dnoise8(fl::u8 *pData, int width, int height, fl::u8 octaves, fl::q44 freq44, fract8 amplitude, int skip, fl::u16 x, fl::i16 scalex, fl::u16 y, fl::i16 scaley, fl::u16 time)
Fill a 2D 8-bit buffer with noise, using inoise8()
void fill_raw_noise16into8(fl::u8 *pData, fl::u8 num_points, fl::u8 octaves, fl::u32 x, int scalex, fl::u32 time)
Fill a 1D 8-bit buffer with noise, using inoise16()
void fill_2dnoise16(CRGB *leds, int width, int height, bool serpentine, fl::u8 octaves, fl::u32 x, int xscale, fl::u32 y, int yscale, fl::u32 time, fl::u8 hue_octaves, fl::u16 hue_x, int hue_xscale, fl::u16 hue_y, fl::u16 hue_yscale, fl::u16 hue_time, bool blend, fl::u16 hue_shift=0)
Fill an LED matrix with random colors, using 16-bit noise.
fl::u16 snoise16(fl::u32 x)
32 bit, fixed point implementation of simplex noise functions.
fl::i8 inoise8_raw(fl::u16 x, fl::u16 y, fl::u16 z)
fl::u16 inoise16(fl::u32 x, fl::u32 y, fl::u32 z, fl::u32 t)
fl::i16 inoise16_raw(fl::u32 x, fl::u32 y, fl::u32 z)
fl::u8 inoise8(fl::u16 x, fl::u16 y, fl::u16 z)
u16 fract16
ANSI: unsigned _Fract.
u8 fract8
Fixed-Point Fractional Types.