Fix accidental bork removing people's patterns from list
[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),
254fbb68 32 new HelixPattern(glucose).setEligible(false),
466150f6
AG
33 new Pong(glucose),
34 new Noise(glucose),
87f6fa39
MS
35 new Blinders(glucose),
36 new CrossSections(glucose),
37 new Psychedelia(glucose),
254fbb68
MS
38 new CubeEQ(glucose).setEligible(false),
39 new PianoKeyPattern(glucose).setEligible(false),
a673599f 40 new GlitchPlasma(glucose),
254fbb68 41 new FireEffect(glucose).setEligible(false),
b4aaf4e4 42 new StripBounce(glucose),
254fbb68
MS
43 new SoundRain(glucose).setEligible(false),
44 new SoundSpikes(glucose).setEligible(false),
821ceae9 45 new FaceSync(glucose),
b6641090
MS
46
47 // Jack
48 new Swim(glucose),
49 // new Breathe(glucose),
50
51 new TimPlanes(glucose),
52 new TimPinwheels(glucose),
53 new TimRaindrops(glucose),
54 new TimCubes(glucose),
55 // new TimTrace(glucose),
56 new TimSpheres(glucose),
57
58 // Ben
59 new DriveableCrossSections(glucose),
60 new GranimTestPattern2(glucose),
61
62 // Sam
63 new JazzRainbow(glucose),
80785186 64
254d34c0 65 // Basic test patterns for reference, not art
bfff6bc2 66 new TestCubePattern(glucose),
186bc4d3 67 new TestTowerPattern(glucose),
0ba6ac44 68 new TestProjectionPattern(glucose),
254fbb68 69 new TestStripPattern(glucose),
186bc4d3
MS
70 // new TestHuePattern(glucose),
71 // new TestXPattern(glucose),
72 // new TestYPattern(glucose),
73 // new TestZPattern(glucose),
f3f5a876 74
49815cc0
MS
75 };
76}
77
78LXTransition[] transitions(GLucose glucose) {
79 return new LXTransition[] {
3f8be614 80 new DissolveTransition(lx),
49815cc0 81 new SwipeTransition(glucose),
3f8be614 82 new FadeTransition(lx),
49815cc0
MS
83 };
84}
85
86LXEffect[] effects(GLucose glucose) {
87 return new LXEffect[] {
88 new FlashEffect(lx),
3f8be614 89 new BoomEffect(glucose),
49815cc0
MS
90 new DesaturationEffect(lx),
91 };
92}
93