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[] {
29 new SineSphere(glucose),
30 //new CubeCurl(glucose),
33 // new Cathedrals(glucose),
35 new MidiMusic(glucose),
38 new ViolinWave(glucose),
39 new BouncyBalls(glucose),
40 new SpaceTime(glucose),
41 new ShiftingPlane(glucose),
42 new AskewPlanes(glucose),
43 new Blinders(glucose),
44 new CrossSections(glucose),
45 new Psychedelia(glucose),
47 new MultipleCubes(glucose),
49 new Traktor(glucose).setEligible(false),
50 new BassPod(glucose).setEligible(false),
51 new CubeEQ(glucose).setEligible(false),
52 new PianoKeyPattern(glucose).setEligible(false),
66 new TimMetronome(glucose),
67 new TimPlanes(glucose),
68 new TimPinwheels(glucose),
69 new TimRaindrops(glucose),
70 new TimCubes(glucose),
71 // new TimTrace(glucose),
72 new TimSpheres(glucose),
75 new JackieSquares(glucose),
76 new JackieLines(glucose),
77 new JackieDots(glucose),
80 new L8onAutomata(glucose),
81 new L8onLife(glucose),
82 new L8onStripLife(glucose),
85 new VSTowers(glucose),
88 new GlitchPlasma(glucose),
89 new FireEffect(glucose).setEligible(false),
90 new StripBounce(glucose),
91 new SoundRain(glucose).setEligible(false),
92 new SoundSpikes(glucose).setEligible(false),
93 new FaceSync(glucose),
102 // new Sandbox(glucose),
103 new TowerParams(glucose),
104 new DriveableCrossSections(glucose),
105 new GranimTestPattern2(glucose),
108 //new HelixPattern(glucose).setEligible(false),
114 new JazzRainbow(glucose),
117 new TelevisionStatic(glucose),
118 new AbstractPainting(glucose),
119 new Spirality(glucose),
121 // Basic test patterns for reference, not art
122 new TestCubePattern(glucose),
123 new TestTowerPattern(glucose),
124 new TestProjectionPattern(glucose),
125 new TestStripPattern(glucose),
126 new TestBassMapping(glucose),
127 new TestFloorMapping(glucose),
128 new TestSpeakerMapping(glucose),
129 // new TestHuePattern(glucose),
130 // new TestXPattern(glucose),
131 // new TestYPattern(glucose),
132 // new TestZPattern(glucose),
137 LXTransition[] transitions(GLucose glucose) {
138 return new LXTransition[] {
139 new DissolveTransition(lx),
140 new AddTransition(glucose),
141 new MultiplyTransition(glucose),
142 new OverlayTransition(glucose),
143 new DodgeTransition(glucose),
144 new SwipeTransition(glucose),
145 new FadeTransition(lx),
146 // new SubtractTransition(glucose), // similar to multiply - dh
147 // new BurnTransition(glucose), // similar to multiply - dh
148 // new ScreenTransition(glucose), // same as add -dh
149 // new SoftLightTransition(glucose), // same as overlay -dh
153 // Handles to globally triggerable effects
155 FlashEffect flash = new FlashEffect(lx);
156 BoomEffect boom = new BoomEffect(glucose);
157 BlurEffect blur = new BlurEffect(glucose);
158 QuantizeEffect quantize = new QuantizeEffect(glucose);
159 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
164 colorFucker.enable();