Skip to content
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

Is it possible to set matrix width and height only for specific segment #240

Open
lokster opened this issue Oct 22, 2022 · 3 comments
Open
Labels
question Further information is requested

Comments

@lokster
Copy link

lokster commented Oct 22, 2022

I have a setup where I drive multiple strips from one ESP32. One of the outputs drives a matrix, the others are strips with different length.
Is it possible to configure the 2D matrix width and height only for specific segment?

@lokster lokster added the question Further information is requested label Oct 22, 2022
@softhack007
Copy link
Collaborator

softhack007 commented Oct 22, 2022

No. Sorry not possible in the current software.

As another user just explained on discord: It is not possible to mix a strip (1D) and a matrix (2D). but you can have 1D segments (horizontal or vertical) created on a matrix.

@lokster
Copy link
Author

lokster commented Oct 23, 2022

Is it because of architectural reasons, or it just needs a little bit of coding?
Since each segment can have different effect running on it, it makes sense (at least to me) to be able to configure only a certain segment as a matrix, so the 2D effects run properly on it.
My particular use case, is a custom ESP32 controller for my gaming PC case, for which I used the upstream WLED until now. I control several strips with it (including on rgb fans), as well as a big 16x8 matrix on the front panel. It works very nice, and I can even control only the matrix via Hyperion from the pc. But I like being able to use it standalone, without any pc control.
So it would have been great to be able to make the 2D effects work properly on the segment which controls the matrix.
I saw that the "Segment" struct in the code has "width" and "height" properties which are used when the effect runs. I tried some crude hard-coded patching - just to see if it can be done (even if not perfect), but so far without much success :)

@kllaus333
Copy link

Hi lokster , i was trying something also without succes , i am looking also for the solution , please if you find something write back here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants