Guided mobile workflow with automatic map-size recommendations
SparkleMap
Session
RC4.9
Session
Resume work on this device or move the complete mapping session between devices.
No saved session loaded.
Camera video and captured frames are never stored. Saved sessions contain settings, centroids, generated map data, confirmations, and validation controls.
Connect and verify raw-scan readiness
Not connected.
WLED reports the wrong physical count?
Old 2D configuration can make WLED report logical canvas cells instead of the physical output count. SparkleMap can download a recovery package, remove active mapping files, switch WLED to ordinary 1D mode, and reboot before scanning.
Connect first. This action changes WLED configuration.
WLED version
Configured physical LEDs
Scan requirement
Before scanning: configure WLED as a raw 1D strip, remove or disable any active ledmap, disable 2D panel transformation, and ensure the configured LED count equals the complete installation being mapped.
Scan raw physical indices
How would you like to continue?
Choose Import if a previous SparkleMap scan JSON is already available. No camera access is required.
Camera scan settings guide
Start / End index
The inclusive physical LED range. For 256 LEDs use 0 through 255.
Green threshold
Controls how strongly green a camera region must be before SparkleMap accepts it. Raise the value to reject reflections; lower it if real LEDs are missed.
Brightness
Use the lowest value that produces one clear camera spot. Excess brightness can cause bloom and false detections.
Camera not started.
LED output used during detection. Start near 128. Lower it for bloom or reflections; raise it when the camera cannot isolate the active LED.
Connect to WLED and start the camera.
Progress
Initial high confidence
Retried
Final high confidence
Unresolved
Duration
Restoration
Import or use raw physical scan
Import a SparkleMap scan captured while WLED was configured as a raw 1D strip with no active map or 2D transformation.
No scan imported.
Build
Physical detections
High confidence
Coordinate bounds
Detection quality details and troubleshooting
SparkleMap checks detections automatically. Open this only if generation is blocked, pixels are missing, or the camera result needs diagnosis.
Optical confidence is advisory. Geometric collisions require review before deployment.
Non-high-confidence detections
No scan loaded.
Centroid collisions below 0.5 px
No scan loaded.
Import or complete a scan to review detection quality.
Generate logical map
✦Suggested logical map size
Import or complete a scan to calculate recommendations.
How recommendations are chosen
Regular-grid candidates are factor pairs scored against the detected camera aspect ratio. Sparse candidates provide compact, recommended, and detailed densities while preserving the detected shape ratio. SparkleMap rejects candidates with fewer logical cells than detected LEDs.
Recommended automatically. Complete rectangular grid is for matrices with every cell occupied. Sparse surface is for trees, outlines, props, and random 1D-string placement with empty logical cells.
Import a scan first.
Map dimensions
Assigned indices
Missing physical indices
Duplicate physical indices
Row populations
Empty logical cells
Maximum assignment error
Geometry correction
Validation
Camera-coordinate assignmentGenerated logical map
Prepare and install map on WLED
SparkleMap can back up WLED, remove stale maps, prepare ordinary 1D Strip mode, install ledmap.json, reboot, and verify the result.
Generate a map to populate installation values.
Safety: A recovery package is downloaded before configuration changes. Keep it until WLED-native validation passes.
Optional final regression: power-cycle WLED later and repeat the native pattern to confirm persistence.
Manual installation fallback
Delete ledmap.json and 2d-gaps.json under WLED /edit.
Set WLED 2D Configuration to 1D Strip, save, and reboot.
Upload the generated file directly under /edit as ledmap.json.
Reboot and confirm WLED reports the generated width and height.
Run a WLED-native 2D validation pattern.
Map validation
Validation mode: Generated map against raw physical outputsSparkleMap translates logical cells through the generated map and sends raw physical indices. Use this only while WLED is in raw 1D mode and ledmap.json is absent.
Raw physical mode sends translated physical indexes and is valid only before ledmap.json is installed. Installed-map mode sends logical indexes and is required after deployment.
No connection attempted.
Center marker always selects the nearest mapped LEDs, even when the geometric center is empty. Mapped shape boundary selects the outermost available LEDs rather than the empty logical-canvas edge.
Generate a map and connect to WLED.
Logical line previewValidation checklist
Green physical LEDs must match green preview cells containing white dots.