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.
7fl::ScreenMap makeRingScreenMap(int numLeds, int gridWidth, int gridHeight,
8 float diameter = 0.15f);
fl::ScreenMap makeRingScreenMap(int numLeds, int gridWidth, int gridHeight, float diameter=0.15f)