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),
38 // new Cathedrals(glucose),
40 new MidiMusic(glucose),
43 new ViolinWave(glucose),
44 new BouncyBalls(glucose),
45 new SpaceTime(glucose),
46 new ShiftingPlane(glucose),
47 new AskewPlanes(glucose),
48 new Blinders(glucose),
49 new CrossSections(glucose),
50 new Psychedelia(glucose),
51 new TimRaindrops(glucose),
52 new TimCubes(glucose),
53 new MultipleCubes(glucose),
55 new Traktor(glucose).setEligible(false),
56 new BassPod(glucose).setEligible(false),
57 new CubeEQ(glucose).setEligible(false),
58 new PianoKeyPattern(glucose).setEligible(false),
60 new StripBounce(glucose),
63 //new AKPong(glucose),
76 new TimMetronome(glucose),
77 new TimPlanes(glucose),
78 new TimPinwheels(glucose),
80 // new TimTrace(glucose),
81 new TimSpheres(glucose),
84 new JackieSquares(glucose),
85 new JackieLines(glucose),
86 new JackieDots(glucose),
89 new L8onAutomata(glucose),
90 new L8onLife(glucose),
91 new L8onStripLife(glucose),
94 new VSTowers(glucose),
97 new GlitchPlasma(glucose),
98 new FireEffect(glucose).setEligible(false),
100 new SoundRain(glucose).setEligible(false),
101 new SoundSpikes(glucose).setEligible(false),
102 new FaceSync(glucose),
107 // new Sandbox(glucose),
108 new TowerParams(glucose),
109 new DriveableCrossSections(glucose),
110 new GranimTestPattern2(glucose),
113 //new HelixPattern(glucose).setEligible(false),
116 new JazzRainbow(glucose),
119 new TelevisionStatic(glucose),
120 new AbstractPainting(glucose),
121 new Spirality(glucose),
123 // Basic test patterns for reference, not art
124 new TestCubePattern(glucose),
125 new TestTowerPattern(glucose),
126 new TestProjectionPattern(glucose),
127 new TestStripPattern(glucose),
128 new TestBassMapping(glucose),
129 new TestFloorMapping(glucose),
130 new TestSpeakerMapping(glucose),
131 // new TestHuePattern(glucose),
132 // new TestXPattern(glucose),
133 // new TestYPattern(glucose),
134 // new TestZPattern(glucose),
139 LXTransition[] transitions(GLucose glucose) {
140 return new LXTransition[] {
141 new DissolveTransition(lx),
142 new AddTransition(glucose),
143 new MultiplyTransition(glucose),
144 new OverlayTransition(glucose),
145 new DodgeTransition(glucose),
146 new SwipeTransition(glucose),
147 new FadeTransition(lx),
148 // new SubtractTransition(glucose), // similar to multiply - dh
149 // new BurnTransition(glucose), // similar to multiply - dh
150 // new ScreenTransition(glucose), // same as add -dh
151 // new SoftLightTransition(glucose), // same as overlay -dh
155 // Handles to globally triggerable effects
157 FlashEffect flash = new FlashEffect(lx);
158 BoomEffect boom = new BoomEffect(glucose);
159 BlurEffect blur = new BlurEffect(glucose);
160 QuantizeEffect quantize = new QuantizeEffect(glucose);
161 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
166 colorFucker.enable();