#include <SmartMatrix.h>
#define kMatrixWidth 32
#define kMatrixHeight 32
#define NUM_LEDS (kMatrixWidth * kMatrixHeight)
uint16_t
XY( uint8_t
x, uint8_t
y)
{
uint16_t i;
}
} else {
}
}
return i;
}
delay(3000);
}
}
}
}
static uint8_t circlex = 0;
static uint8_t circley = 0;
static uint8_t ihue=0;
}
}
ihue+=1;
}
void * pSmartMatrix
Pointer to the matrix object when using the Smart Matrix Library.
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)
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)