X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=9faf3ec45d2babd96a24089d549e86c370d96a90;hb=65450eb37e927a75899c1ab50c7eca15790477b1;hp=ec68668b854b8f1aa5525e38553ef01ad6cdb84e;hpb=d626bc9b0197a1b5fd51a86f33f666a2a46579a2;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index ec68668..9faf3ec 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -22,15 +22,17 @@ * 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. */ - -// TODO(mcslee): get rid of this global, make engine support two decks -LXPattern gplay; LXPattern[] patterns(GLucose glucose) { return new LXPattern[] { + // Slee + // new MidiMusic(glucose), + new Pulley(glucose), new Swarm(glucose), + new ViolinWave(glucose), + new BouncyBalls(glucose), new SpaceTime(glucose), new ShiftingPlane(glucose), new AskewPlanes(glucose), @@ -45,11 +47,13 @@ LXPattern[] patterns(GLucose glucose) { // DanH new Noise(glucose), - gplay = new Play(glucose), // XXX do this properly - new Pong(glucose), + new Play (glucose), + new Pong (glucose), + new Worms(glucose), // Alex G - new SineSphere(glucose), + new SineSphere(glucose), +// new CubeCurl(glucose), // Shaheen new HelixPattern(glucose).setEligible(false), @@ -99,6 +103,7 @@ LXPattern[] patterns(GLucose glucose) { new TestBassMapping(glucose), new TestFloorMapping(glucose), new TestSpeakerMapping(glucose), + new TestPerformancePattern(glucose), // new TestHuePattern(glucose), // new TestXPattern(glucose), // new TestYPattern(glucose), @@ -110,17 +115,32 @@ LXPattern[] patterns(GLucose glucose) { LXTransition[] transitions(GLucose glucose) { return new LXTransition[] { new DissolveTransition(lx), + new AddTransition(glucose), + new MultiplyTransition(glucose), + new OverlayTransition(glucose), + new DodgeTransition(glucose), new SwipeTransition(glucose), new FadeTransition(lx), +// new SubtractTransition(glucose), // similar to multiply - dh +// new BurnTransition(glucose), // similar to multiply - dh +// new ScreenTransition(glucose), // same as add -dh +// new SoftLightTransition(glucose), // same as overlay -dh }; } +// Handles to globally triggerable effects +BoomEffect EFF_boom; +FlashEffect EFF_flash; +ColorFuckerEffect EFF_colorFucker; +BlurEffect EFF_blur; +QuantizeEffect EFF_quantize; + LXEffect[] effects(GLucose glucose) { return new LXEffect[] { - new FlashEffect(lx), - new BoomEffect(glucose), - new DualBlender(glucose), - // new DesaturationEffect(lx), - new ColorFuckerEffect(glucose), + EFF_flash = new FlashEffect(lx), + EFF_boom = new BoomEffect(glucose), + (EFF_blur = new BlurEffect(glucose)).enable(), + (EFF_quantize = new QuantizeEffect(glucose)).enable(), + (EFF_colorFucker = new ColorFuckerEffect(glucose)).enable(), }; }