perlin16 -> FastLED inoise16

we don't have the replacement function from upstream
This commit is contained in:
Frank
2025-12-15 22:59:15 +01:00
parent b08f5a43c4
commit 71aa32dc21

View File

@@ -5166,7 +5166,7 @@ uint16_t mode_shimmer() {
if (SEGMENT.check1) {
modVal = (sin16_t((i * SEGMENT.custom2 << 6) + (strip.now * SEGMENT.custom3 << 5)) >> 8) + 128; // sine modulation: regular "Zebra" stripes
} else {
modVal = perlin16((i * SEGMENT.custom2 << 7), strip.now * SEGMENT.custom3 << 5) >> 8; // perlin noise modulation
modVal = inoise16((i * SEGMENT.custom2 << 7), strip.now * SEGMENT.custom3 << 5) >> 8; // perlin noise modulation
}
color = color_fade(color, modVal, true); // dim by modulator value
}