FastLED
3.9.15
Loading...
Searching...
No Matches
◆
screenMap
fl::ScreenMap
screenMap
Initial value:
=
fl::ScreenMap
(
NUM_LEDS
, 0.15f, [](
int
index,
fl::vec2f
&pt_out) {
float
t
= float(index) / float(
NUM_LEDS
- 1);
pt_out.
x
= 15.0f +
t
* 80.0f;
float
straight_y = 5.0f +
t
* 90.0f;
float
sag = 15.0f *
fl::sin
(
t
*
FL_M_PI
);
pt_out.
y
= straight_y - sag;
})
NUM_LEDS
#define NUM_LEDS
Definition
Animartrix.ino:79
fl::ScreenMap
Definition
screenmap.h:38
t
static uint32_t t
Definition
Luminova.h:55
FL_M_PI
#define FL_M_PI
Definition
math.h:34
fl::vec2f
vec2< float > vec2f
Definition
geometry.h:333
fl::sin
enable_if< is_fixed_point< T >::value, T >::type sin(T angle) FL_NOEXCEPT
Definition
fixed_point.h:577
fl::vec2::y
value_type y
Definition
geometry.h:191
fl::vec2::x
value_type x
Definition
geometry.h:190
Definition at line
71
of file
Sailboat.ino
.
examples
Sailboat
Sailboat.ino
Generated on Tue Jun 16 2026 00:07:00 for FastLED by
1.13.2