     
     send_pixel(red, green, blue);
   }
-  
 
+  j = j + random(1,2);
+  f = f + random(1,2);
+  k = k + random(1,2);
+
+//  j = k;
+//  for (uint8_t i = 0; i < LED_COUNT; i++) {
+//    if (j == 0) {
+//      send_pixel(127,64,0);
+//    }
+//    else if(j == 1) {
+//      send_pixel(64,127,0);
+//    }
+//    else if(j == 2) {
+//      send_pixel(0,127,64);
+//    }
+//    else if(j == 3) {
+//      send_pixel(0,64,127);
+//    }
+//    else if(j == 4) {
+//      send_pixel(64,0,127);
+//    }
+//    else {
+//      send_pixel(127,0,64);
+//    }
+//    
+//    j = (j+1)%6;
+//  }
+//  k = (k+1)%6;
   
   send_single_byte(0x00);
  
-  j = j + random(1,2);
-  f = f + random(1,2);
-  k = k + random(1,2);
+
 }
 
 

  DDRD = 0xFF;
}

void send_single_byte(uint8_t c)
{
  // D5 is clock, D4 is data
  for(uint8_t i = 0; i < 8; i++) {
    PORTD = (((c >> (7 - i)) & 0x01) << 4);
    PORTD = (((c >> (7 - i)) & 0x01) << 4) | 0x20;
  }
}


int k = 0;


uint8_t i = 0;
void loop()
{
  float brightness = random(100,100)/100.0;
  
  for (uint8_t i = 0; i < LED_COUNT; i++) {
