Try it here: FastLED XY-Map-Generator
WLED 2d-gap.json https://intrinsically-sublime.github.io/WLED-2D-gaps.json-Generator/
WLED Ledmap.json https://intrinsically-sublime.github.io/WLED-Ledmap.json-Generator/
WLED Arbitrary Path Ledmap.json Generator https://intrinsically-sublime.github.io/WLED-Arbitrary-Path-Ledmap.json-Generator/
- Generates XY mapping function to be included in the FastLED config.
Changes from original:
- Uses define instead of const int for Matrix size assignment and change variable name.
- Uses one extra pixel for writing out of bounds data to ensure all pixel data is preserved for use while shifting data.
- Option to discard unwanted pixel data and write only to 1 hidden pixel to save memory and increase frame rate.
- Option to clear all pixel data and start with a blank grid. Good for sparse matrices with less pixels than empty space.
- Remove unneeded variable assignments to reduce memory usage.
- Calculate CRGB leds array SRAM usage.
- Calculate frame rate for WS2811 based LEDs including parallel output.
- Calculate connection points in matrix when using parallel output.
- Wiring layout used to create function added to comments.
- Add option to wrap around at ends for cylindrical matrices.