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[] {
31 new SpaceTime(glucose),
32 new ShiftingPlane(glucose),
33 new AskewPlanes(glucose),
34 new Blinders(glucose),
35 new CrossSections(glucose),
36 new Psychedelia(glucose),
38 new Traktor(glucose).setEligible(false),
39 new BassPod(glucose).setEligible(false),
40 new CubeEQ(glucose).setEligible(false),
41 new PianoKeyPattern(glucose).setEligible(false),
48 new SineSphere(glucose),
51 new HelixPattern(glucose).setEligible(false),
54 new GlitchPlasma(glucose),
55 new FireEffect(glucose).setEligible(false),
56 new StripBounce(glucose),
57 new SoundRain(glucose).setEligible(false),
58 new SoundSpikes(glucose).setEligible(false),
59 new FaceSync(glucose),
66 new TimPlanes(glucose),
67 new TimPinwheels(glucose),
68 new TimRaindrops(glucose),
69 new TimCubes(glucose),
70 // new TimTrace(glucose),
71 new TimSpheres(glucose),
74 new DriveableCrossSections(glucose),
75 new GranimTestPattern2(glucose),
78 new JazzRainbow(glucose),
81 new TelevisionStatic(glucose),
82 new AbstractPainting(glucose),
83 new Spirality(glucose),
85 // Basic test patterns for reference, not art
86 new TestCubePattern(glucose),
87 new TestTowerPattern(glucose),
88 new TestProjectionPattern(glucose),
89 new TestStripPattern(glucose),
90 new TestBassMapping(glucose),
91 new TestFloorMapping(glucose),
92 new TestSpeakerMapping(glucose),
93 // new TestHuePattern(glucose),
94 // new TestXPattern(glucose),
95 // new TestYPattern(glucose),
96 // new TestZPattern(glucose),
101 LXTransition[] transitions(GLucose glucose) {
102 return new LXTransition[] {
103 new DissolveTransition(lx),
104 new SwipeTransition(glucose),
105 new FadeTransition(lx),
109 LXEffect[] effects(GLucose glucose) {
110 return new LXEffect[] {
112 new BoomEffect(glucose),
113 new DesaturationEffect(lx),
114 new ColorFuckerEffect(glucose),