FastLED 3.9.15
Loading...
Searching...
No Matches
Wave.h File Reference
#include "fl/math_macros.h"
#include "fl/ui.h"
#include "fl/wave_simulation.h"
#include <Arduino.h>
#include <FastLED.h>
+ Include dependency graph for Wave.h:

Go to the source code of this file.

Macros

#define IS_SERPINTINE   true
 
#define NUM_LEDS   100
 

Functions

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

Variables

CRGB leds [NUM_LEDS]