Skip to content

Commit

Permalink
Merge pull request Aircoookie#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 and softhack007 committed Jan 26, 2024
1 parent 731f8ef commit ad6903d
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 @@ -4998,7 +4998,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) return mode_static(); // not a 2D set-up

const uint16_t cols = SEGMENT.virtualWidth();
Expand All @@ -5009,7 +5009,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 = strip.now / 20;
Expand Down

0 comments on commit ad6903d

Please sign in to comment.