FastLED 3.9.7
|
Expands a grid using bilinear interpolation and scaling up.
This is useful for under powered devices that can't handle the full resolution of the grid, or if you suddenly need to increase the size of the grid and don't want to re-create new assets at the new resolution.
Definition in file scale_up.h.
#include <stdint.h>
#include "FastLED.h"
#include "bilinear_expansion.h"
#include "fl/ptr.h"
#include "fx/fx2d.h"
#include "lib8tion/random8.h"
#include "noise.h"
#include "fl/xymap.h"
Go to the source code of this file.
Classes | |
class | fl::ScaleUp |
Namespaces | |
namespace | fl |
Implements a simple red square effect for 2D LED grids. | |
Macros | |
#define | FASTLED_SCALE_UP_ALWAYS_POWER_OF_2 0 |
#define | FASTLED_SCALE_UP_HIGH_PRECISION 1 |
#define | FASTLED_SCALE_UP_DECIDE_AT_RUNTIME 2 |
#define | FASTLED_SCALE_UP_FORCE_FLOATING_POINT 3 |
#define | FASTLED_SCALE_UP FASTLED_SCALE_UP_DECIDE_AT_RUNTIME |
Functions | |
fl::FASTLED_SMART_PTR (ScaleUp) | |
#define FASTLED_SCALE_UP FASTLED_SCALE_UP_DECIDE_AT_RUNTIME |
Definition at line 36 of file scale_up.h.
#define FASTLED_SCALE_UP_ALWAYS_POWER_OF_2 0 |
Definition at line 23 of file scale_up.h.
#define FASTLED_SCALE_UP_DECIDE_AT_RUNTIME 2 |
Definition at line 31 of file scale_up.h.
#define FASTLED_SCALE_UP_FORCE_FLOATING_POINT 3 |
Definition at line 33 of file scale_up.h.
#define FASTLED_SCALE_UP_HIGH_PRECISION 1 |
Definition at line 26 of file scale_up.h.