X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=a89368cecd1545e2cbfd3681fd31fcccffcb56d4;hb=7c7625ec088b93148f46adc19ba8f1cb4baa8321;hp=4a941436e6b280c45416a44556d90bdeb330683b;hpb=a7c8d80aea0abed745934ffcc723b7a7f542d6d0;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index 4a94143..a89368c 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -22,18 +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 gplay; LXPattern[] patterns(GLucose glucose) { return new LXPattern[] { - - - - // DMK - + + new CubeCurl(glucose), // Slee new Swarm(glucose), - //new ScreenScrape(glucose), + new ViolinWave(glucose), + new BouncyBalls(glucose), new SpaceTime(glucose), new ShiftingPlane(glucose), new AskewPlanes(glucose), @@ -48,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), @@ -78,12 +76,14 @@ LXPattern[] patterns(GLucose glucose) { new TimSpheres(glucose), // Ben - //new Sandbox(glucose), + // new Sandbox(glucose), new TowerParams(glucose), new DriveableCrossSections(glucose), new GranimTestPattern2(glucose), - //JR + + //JR new Gimbal(glucose), + // Sam new JazzRainbow(glucose), @@ -91,7 +91,6 @@ LXPattern[] patterns(GLucose glucose) { new TelevisionStatic(glucose), new AbstractPainting(glucose), new Spirality(glucose), - // Basic test patterns for reference, not art new TestCubePattern(glucose), @@ -112,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 DesaturationEffect(lx), - //new ColorFuckerEffect(glucose), - new DualBlender(glucose), + EFF_flash = new FlashEffect(lx), + EFF_boom = new BoomEffect(glucose), + new BlurEffect(glucose), + new DesaturationEffect(lx), + new ColorFuckerEffect(glucose), }; }