Skip to content

Commit 04ef3f9

Browse files
authored
Merge pull request #3723 from Derek4aty1/dnaSpiralFix
DNA Spiral Effect Speed Fix
2 parents 445a89b + 5461928 commit 04ef3f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wled00/FX.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4880,7 +4880,7 @@ static const char _data_FX_MODE_2DDNA[] PROGMEM = "DNA@Scroll speed,Blur;;!;2";
48804880
/////////////////////////
48814881
// 2D DNA Spiral //
48824882
/////////////////////////
4883-
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/810 , modified by: Andrew Tuline
4883+
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/512-dna-spiral-variation , modified by: Andrew Tuline
48844884
if (!strip.isMatrix || !SEGMENT.is2D()) return mode_static(); // not a 2D set-up
48854885

48864886
const uint16_t cols = SEGMENT.virtualWidth();
@@ -4890,7 +4890,7 @@ uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulma
48904890
SEGMENT.fill(BLACK);
48914891
}
48924892

4893-
uint8_t speeds = SEGMENT.speed/2 + 1;
4893+
uint8_t speeds = SEGMENT.speed/2 + 7;
48944894
uint8_t freq = SEGMENT.intensity/8;
48954895

48964896
uint32_t ms = millis() / 20;

0 commit comments

Comments
 (0)