34 for (
int i = 0; i <
length; ++i) {
36 int stagger = i % 2 ? 4 : 0;
37 int col_top = (cols.
array[i] - 1) * 8 + stagger;
38 if (col_top > y_max) {
44 for (
int i = 0; i <
length; ++i) {
45 int n = cols.
array[i];
46 int stagger = i % 2 ? 4 : 0;
47 for (
int k = 0; k < n; ++k) {
50 int j = i % 2 ? (n - 1 - k) : k;
54 screen_map.
set(curr_idx++,
xy);
99 for (
int i = 0; i < n; ++i) {
112 FL_WARN(
"\n\n############## COMMIT DRAW ################\n\n");
142 for (
const Color3i* it = middle; it != end; ++it) {
145 for (
const Color3i* it = begin; it != middle; ++it) {
158 for (
const Color3i* it = middle; it != end; ++it) {
159 for (
int i = 0; i < repeat; ++i) {
163 for (
const Color3i* it = begin; it != middle; ++it) {
164 for (
int i = 0; i < repeat; ++i) {
179 for (
int i = 0; i < len; ++i) {
181 const int repeat_count = value_array[i];
183 for (
int k = 0; k < repeat_count; ++k) {
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
@ APA102
APA102 LED chipset.
unsigned int xy(unsigned int x, unsigned int y)
void RawDrawPixel(const Color3i &c)
void set_draw_offset(int val)
void RawDrawPixels(const Color3i &c, int n)
fl::vector< fl::CRGB > mLedBuffer
Color3i * GetIterator(int i)
void DrawSequentialRepeat(int repeat)
void DrawRepeat(const int *value_array, int array_length)
void set(u16 index, const vec2f &p) FL_NOEXCEPT
fl::UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
LedColumns LedLayoutArray()
Centralized logging categories for FastLED hardware interfaces and subsystems.
fl::UIButton buttonAllWhite("All white")
fl::ScreenMap init_screenmap()
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NOEXCEPT
Representation of an 8-bit RGB pixel (Red, Green, Blue)
Aggregator header for the fl/ui/ family of per-element UI types.