27#define IS_SERPINTINE true
51 for (
int i =
x - 1; i <=
x + 1; i++) {
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
LED controller for WS2812 LEDs with GRB color order.
UISlider slider("Speed", 0.18f, 0.0f, 1.0f)
UIDescription description("Shows the use of the Wave1D effect.")
UICheckbox halfDuplex("Half Duplex", false)
void triggerRipple(WaveSimulation1D &waveSim, int x)
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)
UISlider dampening("Dampening", 6.0f, 0.0f, 10.0f, 0.1f)
UISlider superSample("SuperSampleExponent", 0.f, 0.f, 3.f, 1.f)
UISlider extraFrames("Extra Frames", 1.0f, 0.0f, 8.0f, 1.0f)
SuperSample getSuperSample()
UIButton button("Trigger")
UITitle title("Wave Demo")
UIButton button("Button")
Representation of an RGB pixel (Red, Green, Blue)