How to Apply Different Brightness Limits to Even/Odd LEDs in a Grid?

,

“I have an LED grid (like the example below), and I want to apply a rule where even-numbered LEDs are limited to a maximum of 50% brightness, while odd-numbered LEDs can go up to 100%.

How can I create a filter or system that enforces this, especially considering that the pattern or layout may change dynamically?”

I assume you are using POPs.

You can use the Group POP to create a new group called even. Suppose you have 100 leds, using pattern matching this expression will select only the even leds: [1-100:2]
Then add a Limit POP, set its Group parameter to your newly created group even and the input attribute scope to Color.rgb, and set Limit Type Maximum to Clamp, with a value of 0.5.
This results in only the even leds having their rgb values clamped to maximum of 0.5

pop_limit_even_leds.tox (910 Bytes)

Thanks for the explanations and everything you mentioned.

The issue is that my software version is outdated and doesn’t have POP. Another point is that instead of G being limited according to the formula
1 if me.chanIndex % 2 == 0 else 0.5,
I want the numbers from 1 to 11 (on the horizontal axis, as shown in the image) — specifically the even numbers — to be limited and reduced to 0.5.

You can use the Shuffle CHOP to swap samples to channels and vice versa.
Then you can apply the same formula in the Limit CHOP to limit only the even leds.

download example:

chops_dim_even_leds.tox (662 Bytes)

Does this help?