#include "fl/math_macros.h"
#include "fl/ui.h"
#include "fl/wave_simulation.h"
#include <Arduino.h>
#include <FastLED.h>
Go to the source code of this file.
|
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) |
|
UICheckbox | halfDuplex ("Half Duplex", false) |
|
CRGB | leds [NUM_LEDS] |
|
UISlider | slider ("Speed", 0.18f, 0.0f, 1.0f) |
|
UISlider | superSample ("SuperSampleExponent", 0.f, 0.f, 3.f, 1.f) |
|
UITitle | title ("Wave Demo") |
|
WaveSimulation1D | waveSim (NUM_LEDS, SuperSample::SUPER_SAMPLE_2X) |
|