Windows. Everything now is implemented in Windows. ;-) (Okay, just the drawing stuff. And defnititely nothing by Microsoft.)
This commit is contained in:
@ -4,9 +4,10 @@
|
||||
#include "prototypes.h"
|
||||
|
||||
void ConfettiEffect::loop() {
|
||||
fadeToBlackBy(leds, LED_COUNT, 1);
|
||||
window->fadeToBlackBy(3);
|
||||
for (int i=0; i<EFFECT_CONFETTI_PIXELS_PER_LOOP; i++) {
|
||||
addPixelColor(random16(LED_COUNT), CHSV(baseHue + random8(64), 200, 255));
|
||||
CRGB color(CHSV(baseHue + random8(64), 200, 255));
|
||||
window->addPixelColor(random16(LED_COUNT), &color);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user