X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=6651e18affbe50a8b8f5638ce3246c4ee4b66416;hb=20e7c94f16a8f2449bf978052c090eab872ecded;hp=d37e12fdbec1772ce46082e516f80e6ccd9f0d55;hpb=4214e9a2908a28344f1e90f98a645ebc2efa0fae;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index d37e12f..6651e18 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -25,12 +25,16 @@ LXPattern[] patterns(GLucose glucose) { return new LXPattern[] { - - + + new SineSphere(glucose), + //new CubeCurl(glucose), + // Slee - // new MidiMusic(glucose), + // new Cathedrals(glucose), + new Swarm(glucose), + new MidiMusic(glucose), new Pulley(glucose), - new Swarm(glucose), + new ViolinWave(glucose), new BouncyBalls(glucose), new SpaceTime(glucose), @@ -52,10 +56,19 @@ LXPattern[] patterns(GLucose glucose) { new Worms(glucose), // Alex G - new SineSphere(glucose), + + // Tim + new TimPlanes(glucose), + new TimPinwheels(glucose), + new TimRaindrops(glucose), + new TimCubes(glucose), + // new TimTrace(glucose), + new TimSpheres(glucose), - // Shaheen - new HelixPattern(glucose).setEligible(false), + + + // Vincent + new VSTowers(glucose), // Toby new GlitchPlasma(glucose), @@ -69,20 +82,16 @@ LXPattern[] patterns(GLucose glucose) { new Swim(glucose), new Balance(glucose), - // Tim - new TimPlanes(glucose), - new TimPinwheels(glucose), - new TimRaindrops(glucose), - new TimCubes(glucose), - // new TimTrace(glucose), - new TimSpheres(glucose), - + // Ben // new Sandbox(glucose), new TowerParams(glucose), new DriveableCrossSections(glucose), new GranimTestPattern2(glucose), + // Shaheen + //new HelixPattern(glucose).setEligible(false), + //JR new Gimbal(glucose), @@ -127,15 +136,17 @@ LXTransition[] transitions(GLucose glucose) { } // Handles to globally triggerable effects -BoomEffect EFF_boom; -FlashEffect EFF_flash; - -LXEffect[] effects(GLucose glucose) { - return new LXEffect[] { - EFF_flash = new FlashEffect(lx), - EFF_boom = new BoomEffect(glucose), - new BlurEffect(glucose), - new DesaturationEffect(lx), - new ColorFuckerEffect(glucose), - }; +class Effects { + FlashEffect flash = new FlashEffect(lx); + BoomEffect boom = new BoomEffect(glucose); + BlurEffect blur = new BlurEffect(glucose); + QuantizeEffect quantize = new QuantizeEffect(glucose); + ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose); + + Effects() { + blur.enable(); + quantize.enable(); + colorFucker.enable(); + } } +