FastLED 3.9.15
Loading...
Searching...
No Matches

◆ mapGalaxyExpress()

CRGB ColorPaletteManager::mapGalaxyExpress ( float hue_norm,
float intensity,
float special_param )
inlineprivate

Definition at line 229 of file FxNoiseRing.h.

229 {
230 // Deep purples, cosmic blues, silver stars (Hue 200-300)
231 if (special_param > 0.8f) {
232 // Silver/white stars
233 uint8_t brightness = 200 + (uint8_t)(intensity * 55);
234 return CRGB(brightness, brightness, brightness);
235 } else {
236 uint8_t hue = 200 + (uint8_t)(hue_norm * 100);
237 uint8_t sat = 180 + (uint8_t)(intensity * 75);
238 uint8_t val = 80 + (uint8_t)(intensity * 175);
239 return CHSV(hue, sat, val);
240 }
241 }
uint8_t hue
UISlider brightness("Brightness", 1, 0, 1)

References brightness(), and hue.

Referenced by mapColor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: