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

◆ constructRectangularGrid()

XYMap fl::XYMap::constructRectangularGrid ( uint16_t width,
uint16_t height,
uint16_t offset = 0 )
static

Definition at line 36 of file xymap.cpp.

37 {
39 out.mOffset = offset;
40 return out;
41}
uint16_t width
Definition xymap.h:121
XYMap(uint16_t width, uint16_t height, bool is_serpentine=true, uint16_t offset=0)
Definition xymap.cpp:61
@ kLineByLine
Definition xymap.h:45
uint16_t height
Definition xymap.h:122
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)

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

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

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