2d matrix

I am trying to make a 2D matrix from led strip. Help me please to make a custom matrix gap file. Need to skip leds

not a gap, you need ledmap for this set-up.

Thank you! Should look like this:
{“n”:“my_matrix”,“width”:11,“height”:17,“map”:[
0,-1,32,-1,64,-1,96,-1,128,-1,160,
1,31,33,63,65,95,97,127,129,159,161,
2,30,34,62,66,94,98,126,130,158,162,
3,29,35,61,67,93,99,125,131,157,163,
4,28,36,60,68,92,100,124,132,156,164,
5,27,37,59,69,91,101,123,133,155,165,
6,26,38,58,70,90,102,122,134,154,166,
7,25,39,57,71,89,103,121,135,153,167,
8,24,40,56,72,88,104,120,136,152,168,
9,23,41,55,73,87,105,119,137,151,169,
10,22,42,54,74,86,106,118,138,150,170,
11,21,43,53,75,85,107,117,139,149,171,
12,20,44,52,76,84,108,116,140,148,172,
13,19,45,51,77,83,109,115,141,147,173,
14,18,46,50,78,82,110,114,142,146,174,
15,17,47,49,79,81,111,113,143,145,175,
-1,16,-1,48,-1,80,-1,112,-1,144,-1
]}

???

Maybe it will be useful to someone… Found a solution:

ledmap.json

{“n”:“my_matrix”,“width”:11,“height”:17,“map”:[
0,32,34,66,68,100,102,134,136,168,170,
1,31,35,65,69,99,103,133,137,167,171,
2,30,36,64,70,98,104,132,138,166,172,
3,29,37,63,71,97,105,131,139,165,173,
4,28,38,62,72,96,106,130,140,164,174,
5,27,39,61,73,95,107,129,141,163,175,
6,26,40,60,74,94,108,128,142,162,176,
7,25,41,59,75,93,109,127,143,161,177,
8,24,42,58,76,92,110,126,144,160,178,
9,23,43,57,77,91,111,125,145,159,179,
10,22,44,56,78,90,112,124,146,158,180,
11,21,45,55,79,89,113,123,147,157,181,
12,20,46,54,80,88,114,122,148,156,182,
13,19,47,53,81,87,115,121,149,155,183,
14,18,48,52,82,86,116,120,150,154,184,
15,17,49,51,83,85,117,119,151,153,185,
]}

Works great!!!

1 Like