Documentation

SparkleMap public-beta guide

Back up first. SparkleMap can remove mapping files, change WLED 2D configuration, upload ledmap.json, and reboot WLED. Download and retain recovery packages until WLED-native validation passes.

Requirements

Guided workflow

  1. Connect: enter the WLED IP address or hostname and confirm the reported count.
  2. Scan: prepare WLED for raw scanning when needed, then scan with a camera or choose an existing scan.
  3. Review: inspect confidence warnings and geometric collisions.
  4. Generate: accept SparkleMap's recommendation or choose regular/sparse dimensions.
  5. Install: inspect, confirm, download recovery, prepare WLED, upload, reboot, and verify.
  6. Validate: confirm a WLED-native effect, then compare SparkleMap patterns with the logical preview.
  7. Diagnostics: copy the redacted log when reporting a problem.

Prepare WLED for raw scanning

An active WLED map can make the reported LED count represent logical canvas cells instead of physical outputs. For example, the tested sparse fixture has 64 physical LEDs but WLED reports 391 after the 17 × 23 map is active.

  1. Connect to WLED.
  2. If the count is not the expected physical output count, choose Prepare WLED for scanning.
  3. Confirm the warning and verify that the pre-scan recovery JSON downloads.
  4. SparkleMap removes ledmap.json and 2d-gaps.json, posts zero matrix panels, reboots WLED, and reconnects.
  5. Confirm the raw physical count before scanning.

Do not begin a physical scan while an active map or 2D panel transformation remains configured.

Camera scanning

Choose Scan with camera, grant camera permission, and use the full-window camera workspace.

Start/end index
The inclusive physical range. Use 0–63 for 64 LEDs or 0–255 for 256 LEDs.
Green threshold
Raise to reject reflections; lower only if real pixels are missed.
Brightness
Use the lowest level that produces one clear green spot. Excess brightness causes bloom and reflections.

Run the complete scan without moving the camera. Cancel restores the saved WLED state and preserves the previous valid scan. A communication failure does not replace the previous valid scan.

Import an existing scan

Select Import an existing scan and choose a SparkleMap scan JSON. Invalid JSON and structurally invalid files are rejected while the previous valid scan is preserved. Scan exports may contain the WLED address and installation geometry; redact before sharing publicly.

Generate a logical map

Complete rectangular grid is for matrices where every logical cell has one LED. Sparse surface is for trees, props, loops, outlines, and irregular strings; unused cells are stored as -1.

SparkleMap recommends compact, recommended, and detailed dimensions based on detection geometry. A grid must contain at least as many cells as physical LEDs. Tested fixtures:

Before deployment, verify assigned count, missing indices, duplicate indices, empty cells, and assignment error.

Inspect and install

  1. Choose Inspect deployment. Inspection is read-only.
  2. Review the count meaning. A mapped WLED build may report logical cells, such as 391 for 17 × 23, while SparkleMap independently verifies 64 physical assignments.
  3. Check the configuration-change consent.
  4. Choose Back up, prepare, and install.
  5. Keep the downloaded recovery package private and retain it until validation passes.
  6. SparkleMap removes stale map files, configures ordinary 1D mode, reboots, uploads ledmap.json, verifies it byte-for-byte, reboots again, and checks logical dimensions and map ID 0.

If automation fails, reconnect, run inspection again, and retry. The manual fallback is to remove stale maps under WLED's file editor, configure 1D Strip, upload the generated file as ledmap.json, reboot, and validate. Do not upload SparkleMap's map through WLED's Gap File control.

Validation

First run PixelForge or another native WLED 2D effect and check the native-validation confirmation. SparkleMap then uses Installed WLED map using logical outputs. Before installation, raw mode translates logical cells through the generated map.

Test horizontal, vertical, and diagonal lines plus low, middle, and maximum thickness levels. Restore the saved WLED state when finished.

Sessions

Save and resume use browser storage tied to the exact website origin. Export/import transfers a session between devices or preview hostnames. Sessions contain settings, centroids, map data, confirmations, and validation controls, but no camera frames.

Failure and recovery

Privacy and safe sharing

Camera frames are processed locally and are not intentionally uploaded. WLED requests go directly from the browser to the supplied local address. Browser sessions remain local to the site origin. Recovery packages can include WLED configuration, presets, mappings, and local addresses. Do not attach recovery packages publicly. Redact IP addresses, hostnames, Wi-Fi details, preset content, and personal information from issue reports.

Known limitations

Report a problem

Use the GitHub issue forms. Include the SparkleMap build, WLED version, browser/OS, geometry, reproduction steps, and a redacted diagnostic log. Never post credentials or an unredacted recovery package.