Handle for boom effect and example of how to trigger
[SugarCubes.git] / SugarCubes.pde
index 21bd8ac3d648823c76b0752b235a28968b70d165..5ce692746d69ef6230a47f29b7fb2d19a9171df3 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 Swarm(glucose),
     new SpaceTime(glucose),
     new ShiftingPlane(glucose),
@@ -120,10 +121,14 @@ LXTransition[] transitions(GLucose glucose) {
   };
 }
 
+// Handles to globally triggerable effects 
+BoomEffect boom;
+
 LXEffect[] effects(GLucose glucose) {
   return new LXEffect[] {
     new FlashEffect(lx),
-    new BoomEffect(glucose),
+    boom = new BoomEffect(glucose),
+    new BlurEffect(glucose),
     new DesaturationEffect(lx),
     new ColorFuckerEffect(glucose),
   };