modified by ALDIY , Add ledmap name input , width and height for MM compatibility
modified Sören Willrodt by Garrett Mace (macetech.com), inspired by Mark Kriegsman
Code: https://github.com/dosipod/WLED-Ledmap-Generator
Set the maximum x and y dimensions, layout style (how the LEDs are actually wired), and click Rebuild.
Then click LEDs to edit the shape of the array by enabling and disabling pixels. The code is updated in realtime.
Copy the resulting function and paste into your map file.
The function will map ordinary X-Y coordinates to the irregular array,pixels that land in gaps will be marked with (-1) .