Add blank pattern to right deck, clean up bouncyballs
[SugarCubes.git] / SugarCubes.pde
index 2156bad83a925de5a7dbdcba9c6123e7585970ad..42817a6b0ead39692be310c41a22d2e04a7f5903 100644 (file)
  * If you're an artist, create a new tab in the Processing environment with
  * your name. Implement your classes there, and add them to the list below.
  */ 
+
 LXPattern[] patterns(GLucose glucose) {
   return new LXPattern[] {
     
     // Slee
-    new Flitters(glucose),
+    new BouncyBalls(glucose),
     new Swarm(glucose),
     new SpaceTime(glucose),
     new ShiftingPlane(glucose),
@@ -121,10 +121,14 @@ LXTransition[] transitions(GLucose glucose) {
   };
 }
 
+// Handles to globally triggerable effects 
+BoomEffect     EFF_boom;
+FlashEffect EFF_flash;
+
 LXEffect[] effects(GLucose glucose) {
   return new LXEffect[] {
-    new FlashEffect(lx),
-    new BoomEffect(glucose),
+    EFF_flash  = new FlashEffect(lx),
+    EFF_boom   = new BoomEffect(glucose),
     new BlurEffect(glucose),
     new DesaturationEffect(lx),
     new ColorFuckerEffect(glucose),