Re-mapping LED's

I’ve done the “/edit” and created file “ledmap.json”, content of the file are:

{“map”:[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,30,3,7,11,15,19,23,27,31,4,8,12,16,20,24,28,32]}


I’ve tryed a few other ways to write it too, and the wiki were not too much help.

Since on 1 example its writen without apacings & in second example it’s with spacing after each “,”.
Allso, in wled’s web interface LEDs starts at 0, but in exemples from wiki it would start on 1.
Is that correct? And if so, then led 0-32 on web-interface would be equal to 1-33 in ledmap.json then?

Hope someone have found out the solution/answere and would be kind to share it with me.

Best regards from
BjornI

Examples from the code…

this is just an example (30 LEDs). It will first set all even, then all uneven LEDs.

{“map”:[
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28,
1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29]}

another example. Switches direction every 5 LEDs.

{“map”:[0, 1, 2, 3, 4, 9, 8, 7, 6, 5, 10, 11, 12, 13, 14,19, 18, 17, 16, 15, 20, 21, 22, 23, 24, 29, 28, 27, 26, 25]}