deleted weird remnants of merge but still broken
[SugarCubes.git] / SugarCubes.pde
CommitLineData
49815cc0
MS
1/**
2 * +-+-+-+-+-+ +-+-+-+-+-+
3 * / /| |\ \
0e3c5542 4 * / / + + \ \
49815cc0
MS
5 * +-+-+-+-+-+ | +-+-+-+-+ | +-+-+-+-+-+
6 * | | + / \ + | |
7 * + THE + / / \ \ + CUBES +
8 * | |/ +-+-+-+-+-+-+-+ \| |
9 * +-+-+-+-+-+ | | +-+-+-+-+-+
10 * + +
11 * | SUGAR |
12 * + +
13 * | |
14 * +-+-+-+-+-+-+-+
15 *
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
b9b7b3d4
MS
18 * code guts are embedded in the HeronLX library, or files prefixed with
19 * an underscore. If you're an artist, you shouldn't need to worry about that.
49815cc0
MS
20 *
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.
24 */
75e1ddde 25
dde75983 26LXPattern[] patterns(LX lx) {
4861d6c4 27 return new LXPattern[] {
2815b690 28
4a6fef01 29
f7f0bfe5
LW
30 new SineSphere(glucose),
31 //new CubeCurl(glucose),
ab65d40b 32 // DanH
33 new Noise(glucose),
34 new Play (glucose),
35 new Pong (glucose),
36 new Worms(glucose),
37
4a6fef01 38
dde75983
MS
39 new SineSphere(lx),
40 //new CubeCurl(lx),
1a92d73a 41
d1dcc4b5 42 // Slee
dde75983
MS
43 // new Cathedrals(lx),
44 new Swarm(lx),
45 new MidiMusic(lx),
46 new Pulley(lx),
fa1767c1 47
4a6fef01 48
4760e696 49 new ViolinWave(glucose),
d1dcc4b5 50 new BouncyBalls(glucose),
87f6fa39 51 new SpaceTime(glucose),
1627a617
MS
52 new ShiftingPlane(glucose),
53 new AskewPlanes(glucose),
87f6fa39
MS
54 new Blinders(glucose),
55 new CrossSections(glucose),
56 new Psychedelia(glucose),
ab65d40b 57 new TimRaindrops(glucose),
58 new TimCubes(glucose),
6a4882dd 59 new MultipleCubes(glucose),
4c006f7b
MS
60
61 new Traktor(glucose).setEligible(false),
62 new BassPod(glucose).setEligible(false),
254fbb68
MS
63 new CubeEQ(glucose).setEligible(false),
64 new PianoKeyPattern(glucose).setEligible(false),
ab65d40b 65
66 new StripBounce(glucose),
4c006f7b 67
69f25521 68 // AntonK
ab65d40b 69 //new AKPong(glucose),
70 new Swim(glucose),
71 new Balance(glucose),
72
4a6fef01 73
dde75983
MS
74 new ViolinWave(lx),
75 new BouncyBalls(lx),
76 new SpaceTime(lx),
77 new ShiftingPlane(lx),
78 new AskewPlanes(lx),
79 new Blinders(lx),
80 new CrossSections(lx),
81 new Psychedelia(lx),
6a4882dd 82
dde75983 83 new MultipleCubes(lx),
4c006f7b 84
dde75983
MS
85 new Traktor(lx).setEligible(false),
86 new BassPod(lx).setEligible(false),
87 new CubeEQ(lx).setEligible(false),
88 new PianoKeyPattern(lx).setEligible(false),
4c006f7b 89
b9b7b3d4 90 // AntonK
dde75983 91 new AKPong(lx),
69f25521 92
d1dcc4b5 93 // DanH
dde75983
MS
94 new Noise(lx),
95 new Play (lx),
96 new Pong (lx),
97 new Worms(lx),
4c006f7b 98
ab65d40b 99
100
58888c69 101 // JR
dde75983 102 new Gimbal(lx),
58888c69 103
0b1785e3 104 // Alex G
1d414e45 105
4a6fef01 106
fa1767c1 107 // Tim
9f73bc0e 108 new TimMetronome(glucose),
fa1767c1
AG
109 new TimPlanes(glucose),
110 new TimPinwheels(glucose),
ab65d40b 111
fa1767c1
AG
112 // new TimTrace(glucose),
113 new TimSpheres(glucose),
4a6fef01 114
b9b7b3d4 115 // Tim
dde75983
MS
116 new TimMetronome(lx),
117 new TimPlanes(lx),
118 new TimPinwheels(lx),
119 new TimRaindrops(lx),
120 new TimCubes(lx),
121 // new TimTrace(lx),
122 new TimSpheres(lx),
fa1767c1 123
37ab5878 124 // Jackie
dde75983
MS
125 new JackieSquares(lx),
126 new JackieLines(lx),
127 new JackieDots(lx),
4a60ba58 128
4861d6c4 129 // L8on
dde75983
MS
130 new L8onAutomata(lx),
131 new L8onLife(lx),
132 new L8onStripLife(lx),
2815b690 133
20e7c94f 134 // Vincent
dde75983 135 new VSTowers(lx),
4c006f7b
MS
136
137 // Toby
4a6fef01 138
a673599f 139 new GlitchPlasma(glucose),
254fbb68 140 new FireEffect(glucose).setEligible(false),
ab65d40b 141
254fbb68
MS
142 new SoundRain(glucose).setEligible(false),
143 new SoundSpikes(glucose).setEligible(false),
821ceae9 144 new FaceSync(glucose),
b6641090
MS
145
146 // Jack
4a6fef01 147
dde75983
MS
148 new GlitchPlasma(lx),
149 new FireEffect(lx).setEligible(false),
150 new StripBounce(lx),
151 new SoundRain(lx).setEligible(false),
152 new SoundSpikes(lx).setEligible(false),
153 new FaceSync(lx),
b6641090
MS
154
155 // Jack
dde75983 156 new Swim(lx),
4a6fef01 157 new Balance(lx), // Ben
dde75983
MS
158 // new Sandbox(lx),
159 new TowerParams(lx),
160 new DriveableCrossSections(lx),
161 new GranimTestPattern2(lx),
51227786 162
fa1767c1 163 // Shaheen
dde75983 164 // new HelixPattern(lx).setEligible(false),
fa1767c1 165
b6641090 166 // Sam
dde75983 167 new JazzRainbow(lx),
80785186 168
0208d845 169 // Arjun
dde75983
MS
170 new TelevisionStatic(lx),
171 new AbstractPainting(lx),
172 new Spirality(lx),
a7c8d80a 173
254d34c0 174 // Basic test patterns for reference, not art
dde75983
MS
175 new TestCubePattern(lx),
176 new TestTowerPattern(lx),
177 new TestProjectionPattern(lx),
178 new TestStripPattern(lx),
179 // new TestHuePattern(lx),
180 // new TestXPattern(lx),
181 // new TestYPattern(lx),
182 // new TestZPattern(lx),
f3f5a876 183
49815cc0
MS
184 };
185}
186
dde75983 187LXTransition[] transitions(LX lx) {
49815cc0 188 return new LXTransition[] {
3f8be614 189 new DissolveTransition(lx),
a22015f4
MS
190 new AddTransition(lx),
191 new MultiplyTransition(lx),
192 new OverlayTransition(lx),
193 new DodgeTransition(lx),
194 new SwipeTransition(lx),
3f8be614 195 new FadeTransition(lx),
49815cc0
MS
196 };
197}
198
75e1ddde 199// Handles to globally triggerable effects
24fc0330
MS
200class Effects {
201 FlashEffect flash = new FlashEffect(lx);
a22015f4
MS
202 BoomEffect boom = new BoomEffect(lx);
203 BlurEffect blur = new BlurEffect(lx);
204 QuantizeEffect quantize = new QuantizeEffect(lx);
205 ColorFuckerEffect colorFucker = new ColorFuckerEffect(lx);
24fc0330
MS
206
207 Effects() {
208 blur.enable();
209 quantize.enable();
210 colorFucker.enable();
211 }
49815cc0 212}
24fc0330 213