#include "fl/math/math.h"
#include "fl/ui/ui.h"
#include "fl/math/wave/wave_simulation.h"
#include <Arduino.h>
#include <FastLED.h>
Go to the source code of this file.
|
| 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) |
| |