X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=a89368cecd1545e2cbfd3681fd31fcccffcb56d4;hb=7c7625ec088b93148f46adc19ba8f1cb4baa8321;hp=d5892485e36658485b948be433512458c14d9868;hpb=348fed6606529be1cc8df6b4d8e6246a9e02358d;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index d589248..a89368c 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -22,12 +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. */ - + 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), @@ -42,8 +45,9 @@ LXPattern[] patterns(GLucose glucose) { // DanH new Noise(glucose), - new Play(glucose), - new Pong(glucose), + new Play (glucose), + new Pong (glucose), + new Worms(glucose), // Alex G new SineSphere(glucose), @@ -107,23 +111,27 @@ LXPattern[] patterns(GLucose glucose) { LXTransition[] transitions(GLucose glucose) { return new LXTransition[] { new DissolveTransition(lx), + new AddTransition(glucose), new MultiplyTransition(glucose), - new ScreenTransition(glucose), - new BurnTransition(glucose), - new DodgeTransition(glucose), new OverlayTransition(glucose), - new AddTransition(glucose), - new SubtractTransition(glucose), - new SoftLightTransition(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), + EFF_flash = new FlashEffect(lx), + EFF_boom = new BoomEffect(glucose), new BlurEffect(glucose), new DesaturationEffect(lx), new ColorFuckerEffect(glucose),