 
   EVERY_N_MILLISECONDS(FADE_MS) {
     nscale8(leds, NUM_LEDS, 255 - speed);
-//    fadeToBlackBy(leds, NUM_LEDS, speed);
-//    scale8_video(leds, NUM_LEDS, speed);
-//    for(int i = 0; i < NUM_LEDS; i++) { 
-//      leds[i].nscale8(leds[i].getLuma() - 1); 
-//    }
   }
 
   EVERY_N_MILLISECONDS(SPARKLE_MS) {

#include <ArduinoJson.h>

DynamicJsonBuffer jsonBuffer(500);
int numberOfSparkles = 0;

#define CIRCUMFERENCE 22
#define SNAKES_COUNT 50


uint8_t hue = 50;
uint16_t snakes[SNAKES_COUNT];
int numberOfSparkles = 0;
int newBrightness = 128;
int newHue = hue;
int snake = 0;
int speed = 1;

void setSettingsFromSerial() {
    if(Serial1.available()) {
      JsonObject& root = jsonBuffer.parseObject(Serial1);
