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),
33 new MidiMusic(glucose),
36 new ViolinWave(glucose),
37 new BouncyBalls(glucose),
38 new SpaceTime(glucose),
39 new ShiftingPlane(glucose),
40 new AskewPlanes(glucose),
41 new Blinders(glucose),
42 new CrossSections(glucose),
43 new Psychedelia(glucose),
45 new Traktor(glucose).setEligible(false),
46 new BassPod(glucose).setEligible(false),
47 new CubeEQ(glucose).setEligible(false),
48 new PianoKeyPattern(glucose).setEligible(false),
57 new SineSphere(glucose),
58 //new CubeCurl(glucose),
61 new TimPlanes(glucose),
62 new TimPinwheels(glucose),
63 new TimRaindrops(glucose),
64 new TimCubes(glucose),
65 // new TimTrace(glucose),
66 new TimSpheres(glucose),
71 new GlitchPlasma(glucose),
72 new FireEffect(glucose).setEligible(false),
73 new StripBounce(glucose),
74 new SoundRain(glucose).setEligible(false),
75 new SoundSpikes(glucose).setEligible(false),
76 new FaceSync(glucose),
84 // new Sandbox(glucose),
85 new TowerParams(glucose),
86 new DriveableCrossSections(glucose),
87 new GranimTestPattern2(glucose),
90 //new HelixPattern(glucose).setEligible(false),
96 new JazzRainbow(glucose),
99 new TelevisionStatic(glucose),
100 new AbstractPainting(glucose),
101 new Spirality(glucose),
103 // Basic test patterns for reference, not art
104 new TestCubePattern(glucose),
105 new TestTowerPattern(glucose),
106 new TestProjectionPattern(glucose),
107 new TestStripPattern(glucose),
108 new TestBassMapping(glucose),
109 new TestFloorMapping(glucose),
110 new TestSpeakerMapping(glucose),
111 // new TestHuePattern(glucose),
112 // new TestXPattern(glucose),
113 // new TestYPattern(glucose),
114 // new TestZPattern(glucose),
119 LXTransition[] transitions(GLucose glucose) {
120 return new LXTransition[] {
121 new DissolveTransition(lx),
122 new AddTransition(glucose),
123 new MultiplyTransition(glucose),
124 new OverlayTransition(glucose),
125 new DodgeTransition(glucose),
126 new SwipeTransition(glucose),
127 new FadeTransition(lx),
128 // new SubtractTransition(glucose), // similar to multiply - dh
129 // new BurnTransition(glucose), // similar to multiply - dh
130 // new ScreenTransition(glucose), // same as add -dh
131 // new SoftLightTransition(glucose), // same as overlay -dh
135 // Handles to globally triggerable effects
137 FlashEffect flash = new FlashEffect(lx);
138 BoomEffect boom = new BoomEffect(glucose);
139 BlurEffect blur = new BlurEffect(glucose);
140 QuantizeEffect quantize = new QuantizeEffect(glucose);
141 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
146 colorFucker.enable();