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

◆ renderVariant()

CRGB NoiseVariantManager::renderVariant ( uint8_t variant,
const RingCoord & coord,
uint32_t time_ms )
inlineprivate

Definition at line 483 of file FxNoiseRing.h.

483 {
484 switch(variant % 10) {
485 case 0: return drawCosmicSwirl(coord, time_ms, palette_manager);
486 case 1: return drawElectricStorm(coord, time_ms, palette_manager);
487 case 2: return drawLavaLamp(coord, time_ms, palette_manager);
488 case 3: return drawDigitalRain(coord, time_ms, palette_manager);
489 case 4: return drawPlasmaWithPalette(coord, time_ms, palette_manager);
490 case 5: return drawGlitchCity(coord, time_ms, palette_manager);
491 case 6: return drawOceanDepths(coord, time_ms, palette_manager);
492 case 7: return drawFireDance(coord, time_ms, palette_manager);
493 case 8: return drawNebulaDrift(coord, time_ms, palette_manager);
494 case 9: return drawBinaryPulse(coord, time_ms, palette_manager);
495 default: return drawCosmicSwirl(coord, time_ms, palette_manager);
496 }
497 }
CRGB drawCosmicSwirl(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawDigitalRain(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawOceanDepths(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawLavaLamp(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawFireDance(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawElectricStorm(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawGlitchCity(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawNebulaDrift(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
CRGB drawBinaryPulse(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)
ColorPaletteManager & palette_manager
CRGB drawPlasmaWithPalette(const RingCoord &coord, uint32_t time_ms, ColorPaletteManager &palette)

References drawBinaryPulse(), drawCosmicSwirl(), drawDigitalRain(), drawElectricStorm(), drawFireDance(), drawGlitchCity(), drawLavaLamp(), drawNebulaDrift(), drawOceanDepths(), drawPlasmaWithPalette(), and palette_manager.

Referenced by renderPixel().

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