FastLED
3.9.15
Loading...
Searching...
No Matches
ring_screenmap.h
Go to the documentation of this file.
1
// ring_screenmap.h - Circular ScreenMap that samples from a rectangular grid
2
#pragma once
3
4
#include "
fl/math/screenmap.h
"
5
6
// Build a ScreenMap that places LEDs in a circle within a rectangular grid.
7
fl::ScreenMap
makeRingScreenMap
(
int
numLeds,
int
gridWidth,
int
gridHeight,
8
float
diameter = 0.15f);
fl::ScreenMap
Definition
screenmap.h:38
makeRingScreenMap
fl::ScreenMap makeRingScreenMap(int numLeds, int gridWidth, int gridHeight, float diameter=0.15f)
Definition
ring_screenmap.cpp:10
screenmap.h
examples
AnimartrixRing
ring_screenmap.h
Generated on Tue Jun 16 2026 00:06:58 for FastLED by
1.13.2