FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Dots1()

void Dots1 ( )

Definition at line 642 of file funky.cpp.

642 {
644 // 2 lissajous dots red
645 leds[XY(p[0], p[1])] = CHSV(1, 255, 255);
646 leds[XY(p[2], p[3])] = CHSV(1, 255, 150);
647 // average of the coordinates in yellow
648 Pixel((p[2] + p[0]) / 2, (p[1] + p[3]) / 2, 50);
649 ShowFrame();
651 HorizontalStream(125);
652}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
int XY(int x, int y)
Definition funky.cpp:190
void HorizontalStream(byte scale)
Definition funky.cpp:460
void Pixel(int x, int y, byte color)
Definition funky.cpp:234
void ShowFrame()
Definition funky.cpp:993
void MoveOscillators()
Definition funky.cpp:248
static FASTLED_NAMESPACE_BEGIN uint8_t const p[]
Definition noise.cpp:30
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Definition chsv.h:16

References HorizontalStream(), leds, MoveOscillators(), p, Pixel(), ShowFrame(), and XY().

+ Here is the call graph for this function: