X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=a89368cecd1545e2cbfd3681fd31fcccffcb56d4;hb=7c7625ec088b93148f46adc19ba8f1cb4baa8321;hp=ec68668b854b8f1aa5525e38553ef01ad6cdb84e;hpb=d626bc9b0197a1b5fd51a86f33f666a2a46579a2;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index ec68668..a89368c 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -22,15 +22,15 @@ * 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[] { - + + new CubeCurl(glucose), // Slee new Swarm(glucose), + new ViolinWave(glucose), + new BouncyBalls(glucose), new SpaceTime(glucose), new ShiftingPlane(glucose), new AskewPlanes(glucose), @@ -45,8 +45,9 @@ 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), @@ -110,17 +111,29 @@ 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; + LXEffect[] effects(GLucose glucose) { return new LXEffect[] { - new FlashEffect(lx), - new BoomEffect(glucose), - new DualBlender(glucose), - // new DesaturationEffect(lx), + EFF_flash = new FlashEffect(lx), + EFF_boom = new BoomEffect(glucose), + new BlurEffect(glucose), + new DesaturationEffect(lx), new ColorFuckerEffect(glucose), }; }