#include <FastLED.h>

#define NUM_LEDS  18
#define LED_PIN   2

CRGB leds[NUM_LEDS];
uint8_t hugh = 0;
uint8_t bue = 0;

void setup() {
  FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
  FastLED.setBrightness(255);
}

void loop() {
  uint8_t beeat = beatsin8(30, 0, NUM_LEDS - 1,0,0);
  uint8_t beeatz = beatsin8(60, 0, NUM_LEDS - 1,0,0);

  //leds[(beeat+beeatz)/2] = CHSV(hugh, 255, 255);
  leds[beeat] = CHSV(hugh+5, 255, 255);
  //leds[beeatz] = CHSV(hugh+10, 255, 255);
  leds[0] = CHSV(hugh+10, 255, 255);
  
  leds[bue] = CHSV(255, hugh, 255);
  EVERY_N_MILLISECONDS(20) {
    hugh++;
  }
EVERY_N_MILLISECONDS(50) {
    bue++;
    if(bue == NUM_LEDS) {
bue =0;
    }
  }
  FastLED.show();

  fadeToBlackBy(leds, NUM_LEDS, 4);
  FastLED.show();

}