     strip.setPixelColor(test_index-1, strip.Color(128,128,128));
     strip.setPixelColor(test_index, strip.Color(intensity,intensity,intensity));
     strip.setPixelColor(test_index+1, strip.Color(intensity,intensity,intensity));
-    strip.setPixelColor(test_index+2, strip.Color(intensity,intensity,intensity));
-    strip.setPixelColor(test_index+3, strip.Color(intensity,intensity,intensity));
+//    strip.setPixelColor(test_index+2, strip.Color(intensity,intensity,intensity));
+//    strip.setPixelColor(test_index+3, strip.Color(intensity,intensity,intensity));
     test_index += 1;
+    test_index = test_index % PIXELS;
     
     strip.setBrightness(intensity);
     strip.show();

      intensity = Serial.read();
      pattern_one(intensity);

    }
}

void pattern_one(uint8_t intensity) {
    if(intensity == 0){
      test_index = random(294)+3;
    }
    
    strip.setPixelColor(test_index-3, strip.Color(0,0,0));


// Center Cloud
#define PIXELS 100
#define CHANCE_OF_MOVING_LOCATION 150
#define CHANCE_OF_BEING_OFF 100


#define PIN 15
