FastLED 3.9.15
|
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 "fl/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 FASTLED_SCALE_UP_DECIDE_AT_RUNTIME |
#define | FASTLED_SCALE_UP_ALWAYS_POWER_OF_2 0 |
#define | FASTLED_SCALE_UP_DECIDE_AT_RUNTIME 2 |
#define | FASTLED_SCALE_UP_FORCE_FLOATING_POINT 3 |
#define | FASTLED_SCALE_UP_HIGH_PRECISION 1 |
Functions | |
fl::FASTLED_SMART_PTR (ScaleUp) | |