Skip to content

Commit

Permalink
Merge pull request #3723 from Derek4aty1/dnaSpiralFix
Browse files Browse the repository at this point in the history
DNA Spiral Effect Speed Fix
  • Loading branch information
blazoncek authored Jan 25, 2024
2 parents 445a89b + 5461928 commit 04ef3f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4880,7 +4880,7 @@ static const char _data_FX_MODE_2DDNA[] PROGMEM = "DNA@Scroll speed,Blur;;!;2";
/////////////////////////
// 2D DNA Spiral //
/////////////////////////
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/810 , modified by: Andrew Tuline
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/512-dna-spiral-variation , modified by: Andrew Tuline
if (!strip.isMatrix || !SEGMENT.is2D()) return mode_static(); // not a 2D set-up

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

uint8_t speeds = SEGMENT.speed/2 + 1;
uint8_t speeds = SEGMENT.speed/2 + 7;
uint8_t freq = SEGMENT.intensity/8;

uint32_t ms = millis() / 20;
Expand Down

0 comments on commit 04ef3f9

Please sign in to comment.