#include "fl/ui.h"
#include "fx/2d/wave.h"
#include <Arduino.h>
#include <FastLED.h>
Go to the source code of this file.
|
UICheckbox | autoTrigger ("Auto Trigger", true) |
|
UIButton | button ("Trigger") |
|
UISlider | dampening ("Dampening", 9.0f, 0.0f, 20.0f, 0.1f) |
|
UIDescription | description ("Shows the use of the Wave2d effect.") |
|
UISlider | extraFrames ("Extra Frames", 0.0f, 0.0f, 8.0f, 1.0f) |
|
UICheckbox | halfDuplex ("Half Duplex", true) |
|
CRGB | leds [NUM_LEDS] |
|
UISlider | slider ("Speed", 0.18f, 0.0f, 1.0f) |
|
UISlider | superSample ("SuperSampleExponent", 1.f, 0.f, 3.f, 1.f) |
|
UITitle | title ("Wave2D Demo") |
|
WaveSimulation2D | waveSim (WIDTH, HEIGHT, SUPER_SAMPLE_4X) |
|
XYMap | xyMap (WIDTH, HEIGHT, IS_SERPINTINE) |
|