Dear Gurus, I have a lighting-project where there is 16 windows that are 80cmX80cm.

Dear Gurus,

I have a lighting-project where there is 16 windows that are 80cmX80cm. 4 windows in each direction. Im going to put frosted foil on the inside of the glass, and put RGB-Strips around the rim, then close them up from behind with white composite-boards.

There will be 188 LEDs pr window x 16 = 3008

I have a Teensy 3.2 and a OctoWS2811 to get it playing. I will have 2 windows (376 LEDS) per channel on the OctoWS2811 - And a Raspberry Pi with net connection so I can reprogram it if i want.

I will fit a waterproof ultrasound sensor under the pir to measure waves and tides, and use those numbers to make some nice light-effects.

So far so good

But I want to treat the windows as a widescreen 768x48px, just forget that there is just pixels around, and nothing in the middle, I think the light-effect will be quite sufficient.

I started to make tables, but soon found out it will be quite large …

And maybe some of you have a better idea on how to solve it?

Glad I found this group, And Ive been reading thru all of the discussions the last days.

Rasmus

This may help https://plus.google.com/115124694226931502095/posts/eS1Wv3Vycx9

Its sadly just about circular shapes

But you could apply the math to fit the shape you envision. The example is a circle based on a square matrix. So it shouldn’t be too much of a stretch to just convert it to the the square (or rectangular in your case) mapping.

You will have to play with mapping techniques. You can make the empty pixels have no mapped address and still render a full frame of any size. Have a look my tutorial http://www.elec-tron.org/?page_id=1351

Problem is that my map will be over 50.000 ‘addresses’.
So I think I must go for the math.