FastLED
3.9.15
Loading...
Searching...
No Matches
◆
mapPixels()
void fl::XYMap::mapPixels
(
const
CRGB
*
input
,
CRGB
*
output
) const
Definition at line
64
of file
xymap.cpp
.
64
{
65
u16
pos
= 0;
66
for
(u16
y
= 0;
y
<
height
;
y
++) {
67
for
(u16
x
= 0;
x
<
width
;
x
++) {
68
u16 i =
pos
++;
69
output[i] = input[
mapToIndex
(
x
,
y
)];
70
}
71
}
72
}
y
int y
Definition
simple.h:93
x
int x
Definition
simple.h:92
pos
uint8_t pos
Definition
Blur.ino:11
XYMap::width
u16 width
Definition
xymap.h:127
XYMap::mapToIndex
u16 mapToIndex(const u16 &x, const u16 &y) const
Definition
xymap.cpp:95
XYMap::height
u16 height
Definition
xymap.h:128
XYMap
Generated on Sat Sep 20 2025 20:42:22 for FastLED by
1.13.2