FastLED 3.10.8
Loading...
Searching...
No Matches

◆ constructRectangularGrid()

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

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

37 {
39 out.mOffset = offset;
40 return out;
41}
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_NO_EXCEPT
Definition xymap.cpp.hpp:89
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

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

Referenced by fl::Leds::Leds(), fl::LedsXY< W, H >::LedsXY(), 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: