   }
 }
 
-void display_buffer(){
-  ledStrip.write(render, ANIM_LED_COUNT);  
-}
+//void display_buffer(int i = 0){
+//  
+//}
 
 bool paused = false;
 

rgb_color dkgray = {5, 5, 5};

#define NPALETTE 16
#define NPRETTY_COLORS 13
rgb_color palette[NPALETTE] = { white, red, orange, yellow, ltgreen, green, seafoam, cyan, ltblue, blue, purple, magenta, pink, black, gray, dkgray };
rgb_color adjusted_palette[NPALETTE];

rgb_color scale_color(rgb_color color, float scale){

//  }
//}

void display_buffer(rgb_color * pbuffer = render){
  ledStrip.write(pbuffer, ANIM_LED_COUNT);  
}

void erase(bool display = false){
  for(int i = 0; i < ANIM_LED_COUNT; i++){
    colors[i] = black;
    effects[i] = 0;
  }
  if(display){
    //ledStrip.write(colors, ANIM_LED_COUNT); 
    display_buffer(colors);
  }
}

