#include <Arduino.h>
#include <FastLED.h>
#include "fl/draw_visitor.h"
#include "fl/math_macros.h"
#include "fl/raster.h"
#include "fl/time_alpha.h"
#include "fl/ui.h"
#include "fl/xypath.h"
#include "fx/time.h"
#include "src/wave.h"
#include "src/xypaths.h"
Go to the source code of this file.
|
void | clearLeds () |
|
UIDescription | description ("Use a path on the WaveFx") |
|
float | getAnimationTime (uint32_t now) |
|
XYPathPtr | getShape (int which) |
|
void | loop () |
|
UISlider | maxAnimation ("Max Animation", 1.0f, 5.0f, 20.0f, 1.f) |
|
UISlider | numberOfSteps ("Number of Steps", 32.0f, 1.0f, 100.0f, 1.0f) |
|
XYRaster | raster (WIDTH, HEIGHT) |
|
UISlider | scale ("Scale", 1.0f, 0.0f, 1.0f, 0.01f) |
|
void | setup () |
|
void | setupUiCallbacks () |
|
TimeClampedTransition | shapeProgress (TIME_ANIMATION) |
|
UISlider | speed ("Speed", 1.0f, -20.0f, 20.0f, 0.01f) |
|
UITitle | title ("XYPath Demo") |
|
UISlider | transition ("Transition", 0.0f, 0.0f, 1.0f, 0.01f) |
|
UIButton | trigger ("Trigger") |
|
UICheckbox | useWaveFx ("Use WaveFX", true) |
|
UISlider | whichShape ("Which Shape", 0.0f, 0.0f, shapes.size() - 1, 1.0f) |
|
XYMap | xyMap (WIDTH, HEIGHT, IS_SERPINTINE) |
|