FastLED 3.9.15
Loading...
Searching...
No Matches
Wave.h File Reference
#include "fl/math/math.h"
#include "fl/ui/ui.h"
#include "fl/math/wave/wave_simulation.h"
#include <Arduino.h>
#include <FastLED.h>
+ Include dependency graph for Wave.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IS_SERPINTINE   true
 
#define NUM_LEDS   100
 

Functions

fl::UIButton button ("Trigger")
 
fl::UISlider dampening ("Dampening", 6.0f, 0.0f, 10.0f, 0.1f)
 
fl::UIDescription description ("Shows the use of the Wave1D effect.")
 
fl::UISlider extraFrames ("Extra Frames", 1.0f, 0.0f, 8.0f, 1.0f)
 
fl::SuperSample getSuperSample ()
 
fl::UICheckbox halfDuplex ("Half Duplex", false)
 
void loop ()
 
void setup ()
 
fl::UISlider slider ("Speed", 0.18f, 0.0f, 1.0f)
 
fl::UISlider superSample ("SuperSampleExponent", 0.f, 0.f, 3.f, 1.f)
 
fl::UITitle title ("Wave Demo")
 
void triggerRipple (fl::WaveSimulation1D &waveSim, int x)
 
fl::WaveSimulation1D waveSim (NUM_LEDS, fl::SuperSample::SUPER_SAMPLE_2X)
 

Variables

fl::CRGB leds [NUM_LEDS]