|
FastLED 3.9.15
|
Corkscrew LED strip projection and rendering.
The Corkscrew class provides a complete solution for drawing to densely-wrapped helical LED strips. It maps a cylindrical coordinate system to a linear LED strip, allowing you to draw on a rectangular surface and have it correctly projected onto the corkscrew topology.
Usage:
The class handles:
Parameters:
Definition in file corkscrew.h.
#include "fl/allocator.h"#include "fl/geometry.h"#include "fl/math.h"#include "fl/math_macros.h"#include "fl/pair.h"#include "fl/tile2x2.h"#include "fl/vector.h"#include "fl/shared_ptr.h"#include "fl/variant.h"#include "fl/span.h"#include "crgb.h"#include "fl/int.h"
Include dependency graph for corkscrew.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fl::Corkscrew |
| class | fl::Corkscrew::iterator |
| struct | fl::Gap |
| Struct representing gap parameters for corkscrew mapping. More... | |
Namespaces | |
| namespace | fl |
| IMPORTANT! | |
Functions | |
| constexpr fl::u16 | fl::calculateCorkscrewHeight (float totalTurns, fl::u16 numLeds) |
| constexpr fl::u16 | fl::calculateCorkscrewWidth (float totalTurns, fl::u16 numLeds) |