diff --git a/wled00/FX.cpp b/wled00/FX.cpp index f3bbb957..0f04810e 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -7546,6 +7546,24 @@ uint16_t mode_2Doctopus() { static const char _data_FX_MODE_2DOCTOPUS[] PROGMEM = "Octopus@!,!,,,Legs;;!;2;ix=255"; +//Waving Cell +//@Stepko (https://editor.soulmatelights.com/gallery/1704-wavingcells) +// adapted for WLED by @blazoncek +uint16_t mode_2Dwavingcell() { + if (!strip.isMatrix) return mode_static(); // not a 2D set-up + + const uint16_t cols = SEGMENT.virtualWidth(); + const uint16_t rows = SEGMENT.virtualHeight(); + + uint32_t t = millis()/(256-SEGMENT.speed); + for (int x = 0; x < cols; x++) for (int y = 0; y