12#if defined(__AVR_ATtinyxy4__)
21#define MAX_DIMENSION ((kMatrixWidth>kMatrixHeight) ? kMatrixWidth : kMatrixHeight)
22#define NUM_LEDS (kMatrixWidth * kMatrixHeight)
28uint16_t
XY( uint8_t
x, uint8_t
y)
96 int ioffset =
scale * i;
98 int joffset =
scale * j;
107 static uint8_t ihue=0;
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
uint8_t noise[NUM_LAYERS][WIDTH][HEIGHT]
UISlider scale("Scale", 4,.1, 4,.1)
#define kMatrixSerpentineLayout
uint16_t XY(uint8_t x, uint8_t y)
@ RGB
Red, Green, Blue (0012)
uint8_t inoise8(uint16_t x, uint16_t y, uint16_t z)
8-Bit, fixed point implementation of Perlin's noise.
LIB8STATIC uint16_t random16()
Generate a 16-bit random number.
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Representation of an RGB pixel (Red, Green, Blue)