FastLED 3.9.15
Loading...
Searching...
No Matches
chasing_spiral_pixel_lut.h
Go to the documentation of this file.
1#pragma once
2
3// Per-pixel pre-computed values for Chasing_Spirals inner loop
4// Extracted from animartrix_detail.hpp
5//
6// Per-pixel pre-computed s16x16 values for Chasing_Spirals inner loop.
7// These are constant per-frame (depend only on grid geometry, not time).
8// Chasing_Spirals-specific LUT.
9
11#include "fl/stl/stdint.h"
12
13
14namespace fl {
15
16
18 fl::s16x16 base_angle; // 3*theta - dist/3
19 fl::s16x16 dist_scaled; // distance * scale (0.1), pre-scaled for noise coords
20 fl::s16x16 rf3; // 3 * radial_filter (for red channel)
21 fl::s16x16 rf_half; // radial_filter / 2 (for green channel)
22 fl::s16x16 rf_quarter; // radial_filter / 4 (for blue channel)
23 fl::u16 pixel_idx; // Pre-computed xyMap(x, y) output pixel index
24};
25
26
27}
Base definition for an LED controller.
Definition crgb.hpp:179