Definition at line 15 of file xymap.cpp.
15 {
18 for (uint16_t w = 0; w <
width; w++) {
19 for (uint16_t h = 0; h <
height; h++) {
21 vec2f p = {
static_cast<float>(w),
static_cast<float>(h)};
23 }
24 }
25 return out;
26}
uint16_t mapToIndex(const uint16_t &x, const uint16_t &y) const
UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
References height, length(), mapToIndex(), p, fl::ScreenMap::set(), and width.