#include "FastLED.h"
#include "fl/ui.h"
#include "fl/xymap.h"
#include "fx/time.h"
Go to the source code of this file.
|
| UISlider | brightness ("Brightness", 255, 0, 255, 1) |
| |
| | DEFINE_GRADIENT_PALETTE (electricBlueFirePal) |
| |
| | DEFINE_GRADIENT_PALETTE (electricGreenFirePal) |
| |
| | DEFINE_GRADIENT_PALETTE (firepal) |
| |
| UIDescription | description ("This Fire demo wraps around the cylinder. It uses Perlin noise to create a fire effect.") |
| |
| CRGBPalette16 | getPalette () |
| |
| uint8_t | getPaletteIndex (uint32_t millis32, int width, int max_width, int height, int max_height, uint32_t y_speed) |
| |
| UISlider | invSpeedZ ("Inverse SpeedZ", 20, 1, 100, 1) |
| |
| void | loop () |
| |
| UINumberField | palette ("Palette", 0, 0, 2) |
| |
| UISlider | scaleX ("ScaleX",.3, 0.1, 3,.01) |
| |
| UISlider | scaleXY ("Scale", 8, 1, 100, 1) |
| |
| void | setup () |
| |
| UISlider | speedY ("SpeedY", 1.3, 1, 6,.1) |
| |
| TimeWarp | timeScale (0, 1.0f) |
| |
| UITitle | title ("FireCylinder Demo") |
| |
| XYMap | xyMap (WIDTH, HEIGHT, SERPENTINE) |
| |