 namespace Lantern {
-  const int snakesCount = 50;
+  const int snakesCount = 10;
   const int circumference = LEDS_PER_ROW;
   int numberOfSparkles = 0;
   bool increasing = true;
   uint8_t hue = 50;
-
-  int curve(int value, int difference, int maximum) {
-    if (value < maximum && increasing) {
-      value += difference;
-    } else if (value > 1) {
-      value -= difference;
-      increasing = false;
-    } else {
-      increasing = true;
-      value += difference;
-    }
-    return value;
-  }
 
   uint16_t snakes[snakesCount];
   int snake = 0;

  }

  void lanternPattern() {
    EVERY_N_MILLISECONDS(40) {
      for (int i = 0; i < snakesCount; i++) {
        uint16_t j = snakes[i];
        if (j > 0) {
          // Different hue for shooting stars
          Soulmate::led_arr[j] = CHSV(hue + j / 10 + 10, 240, 255);

          snakes[i] += circumference+1;
          if (snakes[i] >= N_LEDS) snakes[i] = 0;
        }
      }

      if (random16(N_LEDS * 0.4) < numberOfSparkles) {
        shootingStar();
      }
      fade_raw(Soulmate::led_arr, N_LEDS, 1);
    }

