41#define CentreX (WIDTH / 2) - 1
42#define CentreY (HEIGHT / 2) - 1
47#define LAST_VISIBLE_LED 119
53#define FLAMEHEIGHT 3.8
54#define FIRENOISESCALE 125
63#define SMOKENOISE_DIMMER 250
64#define SMOKENOISESCALE 125
83uint8_t
XY (uint8_t
x, uint8_t
y);
129 for (uint16_t
y = 0;
y <
WIDTH;
y++) {
141 uint16_t ctrl1 =
inoise16(11 * now, 0, 0);
142 uint16_t ctrl2 =
inoise16(13 * now, 100000, 100000);
143 uint16_t ctrl = ((ctrl1 + ctrl2) >> 1);
153 for (uint8_t x_count = 0; x_count <
WIDTH; x_count++) {
155 for (uint8_t y_count = 0; y_count <
HEIGHT; y_count++) {
170 for (uint8_t x_count = 0; x_count <
WIDTH; x_count++) {
172 for (uint8_t y_count = 0; y_count <
HEIGHT; y_count++) {
180 for (uint8_t
y = 0;
y <
HEIGHT - 1;
y++) {
181 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
187 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
196 for (uint8_t
y = 0;
y <
HEIGHT - 1;
y++) {
197 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
219uint8_t
XY (uint8_t
x, uint8_t
y) {
225 const uint8_t XYTable[] = {
257 uint8_t j = XYTable[i];
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
uint8_t noise[NUM_LAYERS][WIDTH][HEIGHT]
uint8_t XY(uint8_t x, uint8_t y)
uint8_t noise2[NUM_LAYERS][WIDTH][HEIGHT]
uint32_t scale_y[NUM_LAYERS]
#define SMOKENOISE_DIMMER
fl::ScreenMap makeScreenMap()
void Fire2023(uint32_t now)
uint32_t scale_x[NUM_LAYERS]
unsigned int xy(unsigned int x, unsigned int y)
fl::size size() const FL_NOEXCEPT
void push_back(const T &value) FL_NOEXCEPT
#define DEFINE_GRADIENT_PALETTE(X)
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
#define DISABLE_DITHER
Disable dithering.
fl::u16 inoise16(fl::u32 x, fl::u32 y, fl::u32 z, fl::u32 t)
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
Representation of an 8-bit RGB pixel (Red, Green, Blue)