diff --git a/include/Animation/AnimationController.h b/include/Animation/AnimationController.h index 943d4f2..c497a2b 100644 --- a/include/Animation/AnimationController.h +++ b/include/Animation/AnimationController.h @@ -20,6 +20,7 @@ class AnimationController FIREWORK = 5, STELLAR = 6, RGBW_SINUS = 7, + RGBW_PSYCHEDELIC = 8, NUM_DEFAULT_ANIMATIONS }; @@ -38,7 +39,8 @@ class AnimationController "Matrix Code", "Fireworks", "Twinkling Sky", - "RGBW Sinus" + "RGBW Sinus", + "RGBW Psychedelic" }; AnimationController(Fader *fader); diff --git a/src/Animation/AnimationController.cpp b/src/Animation/AnimationController.cpp index 16643d6..a8e4081 100644 --- a/src/Animation/AnimationController.cpp +++ b/src/Animation/AnimationController.cpp @@ -78,6 +78,10 @@ void AnimationController::changeAnimation(AnimationController::DefaultAnimation anim.reset(new RgbwSinusAnimation(m_fader)); break; + case RGBW_PSYCHEDELIC: + anim.reset(new RgbwPsychedelicAnimation(m_fader)); + break; + default: return; // unknown id, do nothing }