|
FastLED 3.9.15
|
| Channel & fl::Channel::setScreenMap | ( | fl::u16 | width, |
| fl::u16 | height, | ||
| float | diameter = -1.f ) |
Set screen map for JS canvas visualization from dimensions.
| width | Grid width in pixels |
| height | Grid height in pixels |
| diameter | Optional LED diameter for canvas rendering |
Definition at line 821 of file channel.cpp.hpp.
References Channel(), fl::XYMap::constructRectangularGrid(), fl::height, setScreenMap(), fl::width, and xymap.
Here is the call graph for this function: