diff --git a/effects.h b/effects.h index 77efd60..8941234 100644 --- a/effects.h +++ b/effects.h @@ -266,3 +266,33 @@ class Animation : public Effect { return animation->delays[0]; } }; + +class SingleDynamic : public Effect { + protected: + static const int factor = 2; + static const int tile_count = LED_WIDTH/factor * LED_HEIGHT/factor; + CRGB tiles[tile_count]; + public: + SingleDynamic() { + for (int i=0; i