MCPcopy Create free account
hub / github.com/FastLED/FastLED / xy_map_function

Function xy_map_function

examples/Luminova/Luminova.h:126–126  ·  view source on GitHub ↗

Needed for proper blur mapping.

Source from the content-addressed store, hash-verified

124
125// Needed for proper blur mapping.
126u16 xy_map_function(u16 x, u16 y, u16 width, u16 height) { return fl::XY(x, y); }
127fl::XYMap xymap = fl::XYMap::constructWithUserFunction(WIDTH, HEIGHT, xy_map_function);
128
129void loop() {

Callers

nothing calls this directly

Calls 1

XYFunction · 0.70

Tested by

no test coverage detected