-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
What happened?
If the strip (or segment) pixel count is larger than 256 pixels, the effect will spread colors only across 256 pixels and then repeat, instead of spreading colors across entire strip (or segment) length.
To Reproduce Bug
Create a strip (or segment) with more than 256 pixels (preferably more than 384 to pronounce the effect) and select Palette effect.
You will see a sharp color transition at pixel 256.
Expected Behavior
Spread palette colors across entire strip (or segment) even if pixel count is larger than 256 pixels.
Install Method
Self-Compiled
What version of WLED?
WLED 0.15.0
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
The bug was introduced with #3683 when using .SEGMENT.color_wheel() which only takes 256 values instead of SEGEMENT.color_from_palette()
cc @TripleWhy
Code of Conduct
- I agree to follow this project's Code of Conduct