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),
33 // new Cathedrals(glucose),
35 new MidiMusic(glucose),
38 new ViolinWave(glucose),
39 new BouncyBalls(glucose),
40 new SpaceTime(glucose),
41 new ShiftingPlane(glucose),
42 new AskewPlanes(glucose),
43 new Blinders(glucose),
44 new CrossSections(glucose),
45 new Psychedelia(glucose),
47 new Traktor(glucose).setEligible(false),
48 new BassPod(glucose).setEligible(false),
49 new CubeEQ(glucose).setEligible(false),
50 new PianoKeyPattern(glucose).setEligible(false),
61 new TimPlanes(glucose),
62 new TimPinwheels(glucose),
63 new TimRaindrops(glucose),
64 new TimCubes(glucose),
65 // new TimTrace(glucose),
66 new TimSpheres(glucose),
71 new VSTowers(glucose),
74 new GlitchPlasma(glucose),
75 new FireEffect(glucose).setEligible(false),
76 new StripBounce(glucose),
77 new SoundRain(glucose).setEligible(false),
78 new SoundSpikes(glucose).setEligible(false),
79 new FaceSync(glucose),
87 // new Sandbox(glucose),
88 new TowerParams(glucose),
89 new DriveableCrossSections(glucose),
90 new GranimTestPattern2(glucose),
93 //new HelixPattern(glucose).setEligible(false),
99 new JazzRainbow(glucose),
102 new TelevisionStatic(glucose),
103 new AbstractPainting(glucose),
104 new Spirality(glucose),
106 // Basic test patterns for reference, not art
107 new TestCubePattern(glucose),
108 new TestTowerPattern(glucose),
109 new TestProjectionPattern(glucose),
110 new TestStripPattern(glucose),
111 new TestBassMapping(glucose),
112 new TestFloorMapping(glucose),
113 new TestSpeakerMapping(glucose),
114 // new TestHuePattern(glucose),
115 // new TestXPattern(glucose),
116 // new TestYPattern(glucose),
117 // new TestZPattern(glucose),
122 LXTransition[] transitions(GLucose glucose) {
123 return new LXTransition[] {
124 new DissolveTransition(lx),
125 new AddTransition(glucose),
126 new MultiplyTransition(glucose),
127 new OverlayTransition(glucose),
128 new DodgeTransition(glucose),
129 new SwipeTransition(glucose),
130 new FadeTransition(lx),
131 // new SubtractTransition(glucose), // similar to multiply - dh
132 // new BurnTransition(glucose), // similar to multiply - dh
133 // new ScreenTransition(glucose), // same as add -dh
134 // new SoftLightTransition(glucose), // same as overlay -dh
138 // Handles to globally triggerable effects
140 FlashEffect flash = new FlashEffect(lx);
141 BoomEffect boom = new BoomEffect(glucose);
142 BlurEffect blur = new BlurEffect(glucose);
143 QuantizeEffect quantize = new QuantizeEffect(glucose);
144 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
149 colorFucker.enable();