2 * +-+-+-+-+-+ +-+-+-+-+-+
5 * +-+-+-+-+-+ | +-+-+-+-+ | +-+-+-+-+-+
7 * + THE + / / \ \ + CUBES +
8 * | |/ +-+-+-+-+-+-+-+ \| |
9 * +-+-+-+-+-+ | | +-+-+-+-+-+
16 * Welcome to the Sugar Cubes! This Processing sketch is a fun place to build
17 * animations, effects, and interactions for the platform. Most of the icky
18 * code guts are embedded in the GLucose library extension. If you're an
19 * artist, you shouldn't need to worry about any of that.
21 * Below, you will find definitions of the Patterns, Effects, and Interactions.
22 * If you're an artist, create a new tab in the Processing environment with
23 * your name. Implement your classes there, and add them to the list below.
26 LXPattern[] patterns(GLucose glucose) {
27 return new LXPattern[] {
31 new Cathedrals(glucose),
32 new MidiMusic(glucose),
35 new ViolinWave(glucose),
36 new BouncyBalls(glucose),
37 new SpaceTime(glucose),
38 new ShiftingPlane(glucose),
39 new AskewPlanes(glucose),
40 new Blinders(glucose),
41 new CrossSections(glucose),
42 new Psychedelia(glucose),
44 new Traktor(glucose).setEligible(false),
45 new BassPod(glucose).setEligible(false),
46 new CubeEQ(glucose).setEligible(false),
47 new PianoKeyPattern(glucose).setEligible(false),
56 new SineSphere(glucose),
57 // new CubeCurl(glucose),
60 new HelixPattern(glucose).setEligible(false),
63 new GlitchPlasma(glucose),
64 new FireEffect(glucose).setEligible(false),
65 new StripBounce(glucose),
66 new SoundRain(glucose).setEligible(false),
67 new SoundSpikes(glucose).setEligible(false),
68 new FaceSync(glucose),
75 new TimPlanes(glucose),
76 new TimPinwheels(glucose),
77 new TimRaindrops(glucose),
78 new TimCubes(glucose),
79 // new TimTrace(glucose),
80 new TimSpheres(glucose),
83 // new Sandbox(glucose),
84 new TowerParams(glucose),
85 new DriveableCrossSections(glucose),
86 new GranimTestPattern2(glucose),
92 new JazzRainbow(glucose),
95 new TelevisionStatic(glucose),
96 new AbstractPainting(glucose),
97 new Spirality(glucose),
99 // Basic test patterns for reference, not art
100 new TestCubePattern(glucose),
101 new TestTowerPattern(glucose),
102 new TestProjectionPattern(glucose),
103 new TestStripPattern(glucose),
104 new TestBassMapping(glucose),
105 new TestFloorMapping(glucose),
106 new TestSpeakerMapping(glucose),
107 new TestPerformancePattern(glucose),
108 // new TestHuePattern(glucose),
109 // new TestXPattern(glucose),
110 // new TestYPattern(glucose),
111 // new TestZPattern(glucose),
116 LXTransition[] transitions(GLucose glucose) {
117 return new LXTransition[] {
118 new DissolveTransition(lx),
119 new AddTransition(glucose),
120 new MultiplyTransition(glucose),
121 new OverlayTransition(glucose),
122 new DodgeTransition(glucose),
123 new SwipeTransition(glucose),
124 new FadeTransition(lx),
125 // new SubtractTransition(glucose), // similar to multiply - dh
126 // new BurnTransition(glucose), // similar to multiply - dh
127 // new ScreenTransition(glucose), // same as add -dh
128 // new SoftLightTransition(glucose), // same as overlay -dh
132 // Handles to globally triggerable effects
134 FlashEffect flash = new FlashEffect(lx);
135 BoomEffect boom = new BoomEffect(glucose);
136 BlurEffect blur = new BlurEffect(glucose);
137 QuantizeEffect quantize = new QuantizeEffect(glucose);
138 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
143 colorFucker.enable();