Piano-LED-Visualizer icon indicating copy to clipboard operation
Piano-LED-Visualizer copied to clipboard

Fix colormap generation and selection stability

Open GoulagmanYt opened this issue 1 week ago • 0 comments

-Fixed lazy colormap generation (no double-lock) and ensured all packaged gradients (agama/cmasher/cmocean/colorcet/hpluv/matplotlib) generate on demand with current LED gamma.

-Normalized handling of colormap names while keeping raw LCD values (e.g., “Rainbow ”) so both web UI and LCD can switch colormaps without crashes or stale lookups.

-On change (web or LCD), colormaps are now generated immediately; Rainbow/Velocity modes force-safe fallback if a LUT is missing.

GoulagmanYt avatar Dec 17 '25 14:12 GoulagmanYt