Skip to content

Instantly share code, notes, and snippets.

View maksimkurb's full-sized avatar

Maxim Kurbatov maksimkurb

View GitHub Profile
@maksimkurb
maksimkurb / Fire2022.h
Last active December 13, 2024 09:46
Gyver Fire 2019 effect for WLED
#pragma once
#include "wled.h"
#include "FX.h"
#define USERMOD_ID_FIRE_2022 55
//these values are substracetd from the generated values to give a shape to the animation
const unsigned char valueMask[8][16] PROGMEM = {
{32 , 0 , 0 , 0 , 0 , 0 , 0 , 32 , 32 , 0 , 0 , 0 , 0 , 0 , 0 , 32 },
{64 , 0 , 0 , 0 , 0 , 0 , 0 , 64 , 64 , 0 , 0 , 0 , 0 , 0 , 0 , 64 },