The BassBox is now in the model, and pushed to the real car location
[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
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.
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 */
25
26LXPattern[] patterns(GLucose glucose) {
27 return new LXPattern[] {
5129affb
MS
28 new ShiftingPlane(glucose),
29 new AskewPlanes(glucose),
87f6fa39
MS
30 new Swarm(glucose),
31 new SpaceTime(glucose),
92c06c97 32 new HelixPattern(glucose),
466150f6
AG
33 new Pong(glucose),
34 new Noise(glucose),
87f6fa39
MS
35 new Blinders(glucose),
36 new CrossSections(glucose),
37 new Psychedelia(glucose),
38 new CubeEQ(glucose),
39 new PianoKeyPattern(glucose),
a673599f 40 new GlitchPlasma(glucose),
64d16e07 41 new FireEffect(glucose),
b4aaf4e4 42 new StripBounce(glucose),
821ceae9 43 new SoundRain(glucose),
f5d9de39 44 new SoundSpikes(glucose),
821ceae9 45 new FaceSync(glucose),
d564b8db 46
ef5a1bbf 47
d564b8db 48 new TimPlanes(glucose),
49 new TimPinwheels(glucose),
50 new TimRaindrops(glucose),
51 new TimCubes(glucose),
ef5a1bbf 52 //new TimTrace(glucose),
d564b8db 53 new TimSpheres(glucose),
54
ef5a1bbf
BM
55 //Ben
56 new DriveableCrossSections(glucose),
57 new GranimTestPattern2(glucose),
80785186
S
58
59 //Sam
60 new JazzRainbow(glucose),
ef5a1bbf 61
254d34c0 62 // Basic test patterns for reference, not art
bfff6bc2 63 new TestCubePattern(glucose),
186bc4d3 64 new TestTowerPattern(glucose),
0ba6ac44 65 new TestProjectionPattern(glucose),
186bc4d3
MS
66 // new TestHuePattern(glucose),
67 // new TestXPattern(glucose),
68 // new TestYPattern(glucose),
69 // new TestZPattern(glucose),
f3f5a876 70
b18be7d3
BM
71 //slow for now, relegated to the bottom until faster!
72 new HelixPattern(glucose),
49815cc0
MS
73 };
74}
75
76LXTransition[] transitions(GLucose glucose) {
77 return new LXTransition[] {
3f8be614 78 new DissolveTransition(lx),
49815cc0 79 new SwipeTransition(glucose),
3f8be614 80 new FadeTransition(lx),
49815cc0
MS
81 };
82}
83
84LXEffect[] effects(GLucose glucose) {
85 return new LXEffect[] {
86 new FlashEffect(lx),
3f8be614 87 new BoomEffect(glucose),
49815cc0
MS
88 new DesaturationEffect(lx),
89 };
90}
91