Add blank pattern to right deck, clean up bouncyballs
[SugarCubes.git] / SugarCubes.pde
index d5892485e36658485b948be433512458c14d9868..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 BouncyBalls(glucose),
     new Swarm(glucose),
     new SpaceTime(glucose),
     new ShiftingPlane(glucose),
@@ -120,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),