FastLED XY Map Generator

by Garrett Mace (, inspired by Mark Kriegsman


Automatically generates XYmap function for irregular/gapped LED arrays.

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 code.

The function will map ordinary X-Y coordinates to the irregular array, preserving pixels that land in gaps.

Serpentine Vertical
V-Flip H-Flip

Map goes here.