Reversing every second row in a table

I have made a patch to reverse every second row in set of LED lights, as I am wiring them up in that configuration. I’m sure there is a cleaner way of doing it, so thought I’d throw it out to the forum…

In my patch you can alter the spread size of the spread.

Preferably I would like to be able to set the amount of rows, and columns, and for it to re sort the spread, so every second row is reversed.

Chur!

The Box - Copy.v4p (39.8 kB)

I would do like this

The Box - Copy -2.v4p (17.2 kB)

Even easier like this using Reverse (Spreads Vector)

The Box - Copy -3.v4p (17.0 kB)

Hmmm, it’s not quite there, but maybe I am being thick, I have expanded the patch to include the dmx output, I am having trouble adapting your version… perhaps using get and set slice still…

The Box - Test2.v4p (71.1 kB)

Right, got it working, just put it in a different location, thought I’d upload. Thanks for the help!

The Box - Test3.v4p (55.7 kB)