- Examples
- FxNoiseRing.ino.
Definition at line 526 of file curr.h.
526 {
529
531
535
536 for (int dx = 0; dx < 2; ++dx) {
537 for (int dy = 0; dy < 2; ++dy) {
541
542 if (alpha > 0) {
546 }
547 }
548 }
549 } else {
550
553
555
559
560
561
563 }
564}
fl::UIDropdown saturationFunction("Saturation Function", easeOptions)
fl::UIDropdown luminanceFunction("Luminance Function", easeOptions)
fl::pair< vec2< u16 >, u8 > Entry
fl::EaseType getEaseType(fl::string value)
fl::shared_ptr< fl::Grid< fl::CRGB > > frameBufferPtr
fl::UICheckbox splatRendering("Splat Rendering", true)
fl::Corkscrew corkscrew(CORKSCREW_TURNS, NUM_LEDS)
CRGB colorBoost(EaseType saturation_function=EaseType::EASE_NONE, EaseType luminance_function=EaseType::EASE_NONE) const FL_NOEXCEPT
CRGB & nscale8(u8 scaledown) FL_NOEXCEPT
Scale down a RGB to N/256ths of its current brightness, using "plain math" dimming rules.
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
Representation of an 8-bit RGB pixel (Red, Green, Blue)
References fl::Tile2x2_u8_wrap::at(), fl::CRGB::Blue, fl::CRGB::colorBoost(), corkscrew(), fl::pair< T1, T2 >::first, frameBufferPtr, getEaseType(), luminanceFunction(), fl::CRGB::nscale8(), pos, saturationFunction(), fl::pair< T1, T2 >::second, splatRendering(), fl::vec2< T >::x, and fl::vec2< T >::y.
Referenced by fl::XYRasterSparse_RGB8::draw(), and loop().