#include <stdio.h>
#include <string>
#include <FastLED.h>
#include "fl/json.h"
#include "fl/slice.h"
#include "fx/fx_engine.h"
#include "fx/2d/animartrix.hpp"
#include "fl/ui.h"
Go to the source code of this file.
|
Animartrix | animartrix (xyMap, FIRST_ANIMATION) |
|
UISlider | brightness ("Brightness", 255, 0, 255) |
|
UIDescription | description ("Demo of the Animatrix effects. @author of fx is StefanPetrick") |
|
FxEngine | fxEngine (NUM_LEDS) |
|
UINumberField | fxIndex ("Animartrix - index", 0, 0, NUM_ANIMATIONS - 1) |
|
CRGB | leds [NUM_LEDS] |
|
UISlider | timeSpeed ("Time Speed", 1, -10, 10,.1) |
|
UITitle | title ("Animartrix") |
|
XYMap | xyMap = XYMap::constructRectangularGrid(MATRIX_WIDTH, MATRIX_HEIGHT) |
|