FastLED 3.9.15
Loading...
Searching...
No Matches

◆ constructRectangularGrid()

XYMap fl::XYMap::constructRectangularGrid ( u16 width,
u16 height,
u16 offset = 0 )
static
Examples
Animartrix.ino.

Definition at line 35 of file xymap.cpp.hpp.

36 {
38 out.mOffset = offset;
39 return out;
40}
u16 width
Definition xymap.h:128
@ kLineByLine
Definition xymap.h:43
u16 height
Definition xymap.h:129
XYMap(u16 width, u16 height, bool is_serpentine=true, u16 offset=0) FL_NOEXCEPT
Definition xymap.cpp.hpp:80
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

References XYMap(), height, kLineByLine, mOffset, offset(), and width.

Referenced by fl::Blend2d::add(), fl::Blend2d::draw(), identity(), NewWaveSimulation2D(), fl::Channel::setScreenMap(), fl::CLEDController::setScreenMap(), fl::LedsXY< W, H >::setSerpentine(), and setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: