X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=SugarCubes.pde;h=5fe3c7bb5f412a83a63e07129e44a0ec35dcca09;hb=b9b7b3d47ba1edbb5595d749cf0d0a77a3ff7c5b;hp=bc70626a384391726f08d3fff4c6d8d13401063d;hpb=29674806c55d6280e15e3b92eb40266685a414b7;p=SugarCubes.git diff --git a/SugarCubes.pde b/SugarCubes.pde index bc70626..5fe3c7b 100644 --- a/SugarCubes.pde +++ b/SugarCubes.pde @@ -15,8 +15,8 @@ * * Welcome to the Sugar Cubes! This Processing sketch is a fun place to build * animations, effects, and interactions for the platform. Most of the icky - * code guts are embedded in the GLucose library extension. If you're an - * artist, you shouldn't need to worry about any of that. + * code guts are embedded in the HeronLX library, or files prefixed with + * an underscore. If you're an artist, you shouldn't need to worry about that. * * Below, you will find definitions of the Patterns, Effects, and Interactions. * If you're an artist, create a new tab in the Processing environment with @@ -24,28 +24,68 @@ */ LXPattern[] patterns(GLucose glucose) { - return new LXPattern[] { - + return new LXPattern[] { + + new SineSphere(glucose), + //new CubeCurl(glucose), + // Slee - new ShiftingPlane(glucose), - new AskewPlanes(glucose), + // new Cathedrals(glucose), new Swarm(glucose), + new MidiMusic(glucose), + new Pulley(glucose), + + new ViolinWave(glucose), + new BouncyBalls(glucose), new SpaceTime(glucose), + new ShiftingPlane(glucose), + new AskewPlanes(glucose), new Blinders(glucose), new CrossSections(glucose), new Psychedelia(glucose), + + new MultipleCubes(glucose), new Traktor(glucose).setEligible(false), new BassPod(glucose).setEligible(false), new CubeEQ(glucose).setEligible(false), new PianoKeyPattern(glucose).setEligible(false), - // Dan - new Pong(glucose), + // AntonK + new AKPong(glucose), + + // DanH new Noise(glucose), + new Play (glucose), + new Pong (glucose), + new Worms(glucose), - // Shaheen - new HelixPattern(glucose).setEligible(false), + // JR + new Gimbal(glucose), + + // Alex G + + // Tim + new TimMetronome(glucose), + new TimPlanes(glucose), + new TimPinwheels(glucose), + new TimRaindrops(glucose), + new TimCubes(glucose), + // new TimTrace(glucose), + new TimSpheres(glucose), + + // Jackie + new JackieSquares(glucose), + new JackieLines(glucose), + new JackieDots(glucose), + + // L8on + new L8onAutomata(glucose), + new L8onLife(glucose), + new L8onStripLife(glucose), + + // Vincent + new VSTowers(glucose), // Toby new GlitchPlasma(glucose), @@ -58,22 +98,24 @@ LXPattern[] patterns(GLucose glucose) { // Jack 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), + // Sam new JazzRainbow(glucose), + // Arjun + new TelevisionStatic(glucose), + new AbstractPainting(glucose), + new Spirality(glucose), + // Basic test patterns for reference, not art new TestCubePattern(glucose), new TestTowerPattern(glucose), @@ -90,16 +132,31 @@ 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 }; } -LXEffect[] effects(GLucose glucose) { - return new LXEffect[] { - new FlashEffect(lx), - new BoomEffect(glucose), - new DesaturationEffect(lx), - }; +// Handles to globally triggerable effects +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(); + } }