|
FastLED 3.10.6
|
| RGBf mood_ring::paletteColor | ( | const MoodPalette & | p, |
| float | t ) |
Colour at position t in [0, 1] along the family, at value v.
Definition at line 42 of file mood_palette.cpp.
References clampf(), hue, mood_ring::MoodPalette::hueBase, mood_ring::MoodPalette::hueSpread, mood_ring::MoodPalette::saturation, t, and toRGBf().
Referenced by mood_ring::FlowLayer::drawGrains(), mood_ring::MoodPainter::drawPulses(), mood_ring::BreathLayer::render(), mood_ring::FlowLayer::render(), and mood_ring::GrooveLayer::render().
Here is the call graph for this function:
Here is the caller graph for this function: