-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FX: Waterfall, Matripix & Dissolve fix #4428
Conversation
- for Arc expansion - or gaps - or ledmaps with missing pixels
I'm not sure that this is a good approach for fixing the problem. Its basicially a way to implement setUpLeds() without implementing it ;-) many audioreactive effects are doing a "shift left" or "shift out", and I guess it's just a matter of time until the next user comes up with a combination of matrix dimensions and 2D expand mode where the same fix would be needed in another effect.
On the positive side,
|
Well, do as you please. 🤷♂️ I proposed a solution that works, has least impact and adds very little to code size. If you call Tested on ESP8266 with up to 512 pixels (which is maximum recomended for it). |
Oh, one more thing.
IMO any effect that needs persistent data (pixels or other) should utilise There is a |
IMHO this is a good fix for the issue at hand. Implementing local buffers i.e. setUpLeds() (which I am not familar with) sounds like something that requires a lot of code-rework and out of scope for the moment. |
FYI there are several more effects that will not work correctly with gaps (and/or 2D expansion). @DedeHai I invented Unfortunately bus knows nothing about gaps (as it is working on physical layer) and hence some effects can't behave properly if they rely on previous pixel values that need to be moved around. |
Can one of the reviewers please approve if this it ready to merge (and cherry pick to the release branch) ? |
Yes I agree - while i don't find this solution is future-proof, its the only thing that we have right now. So fine for me to merge this into the next release. |
FX: Waterfall, Matripix & Dissolve fix
There were some conflicts merging back to 0_15_0 so it might be best for you to check the fix is still correct @blazoncek |
Looks ok. |
Fixes #4416
Fixes #4401