 PixelAnimation pixel(matrix);
 FaceAnimation face(matrix);
 AumAnimation sacred(matrix);
-//UberAnimation uberAnimation(26000);
-//UberAnimation uberAnimation(5000);
-WebController uberAnimation(5000);
 
+const unsigned long controllerPeriod = 5000; //26000
+
+#ifdef WEBCONTROLLER
+#include "WebController.h"
+WebController uberAnimation(controllerPeriod);
+#else // NOCONTROLLER
+UberAnimation uberAnimation(controllerPeriod);
+#endif
 
 void setup() {
   ticker.setText("Once upon a time, in a galaxy far, far away");

// options for remote controller
// NOCONTROLLER - no remote
// WEBCONTROLLER - esp8266
#define NOCONTROLLER

#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>

#ifdef WEBCONTROLLER
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#endif

#include "TickerAnimation.h"
#include "StackAnimation.h"

}

void loop() {
  uberAnimation.update(millis());
  delay(1);
}

