WS2812B for gallery installation, dimming curves question
Posted: Fri May 15, 2026 8:00 am
Working on a sound-reactive installation, 300 WS2812B LEDs across a 4-meter sculpture. Gallery lighting is moody, around 10-20 lux ambient.
Issue: my linear PWM mapping (sound amplitude to LED brightness) looks too harsh. Bright peaks burn the eye, mid-range washes out.
Read about gamma correction tables (2.2 gamma) for perceptual brightness, but the math is breaking my brain. Is there a simple lookup table I can just paste into the Arduino sketch?
Also: how do other artists handle the cold-vs-warm color shift when WS2812Bs dim? They go very blue-ish at low brightness levels, which clashes with the warm gallery lights.
Issue: my linear PWM mapping (sound amplitude to LED brightness) looks too harsh. Bright peaks burn the eye, mid-range washes out.
Read about gamma correction tables (2.2 gamma) for perceptual brightness, but the math is breaking my brain. Is there a simple lookup table I can just paste into the Arduino sketch?
Also: how do other artists handle the cold-vs-warm color shift when WS2812Bs dim? They go very blue-ish at low brightness levels, which clashes with the warm gallery lights.