Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This line in Time_Performance:
- FROM(0,0,6.500) {FastLED.setBrightness(BRIGHTNESS); Glitter(); FastLED.delay(1 / FRAMES_PER_SECOND);}
- Calls this function I added to Halloween_chase:
- void Glitter (){
- fadeToBlackBy( ledarray[0], 60, 10);
- fract8 chanceOfGlitter = 80;
- if( random8() < chanceOfGlitter) {
- leds[ random16(60) ] += CRGB::Gold;} // Glitter colour fixed
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement