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[] {
30 new SineSphere(glucose),
31 new CubeCurl(glucose),
33 >>>>>>> b8bb27489db7dc687bf150576e9d9439f1fa17a6
35 new Cathedrals(glucose),
36 new MidiMusic(glucose),
39 new ViolinWave(glucose),
40 new BouncyBalls(glucose),
41 new SpaceTime(glucose),
42 new ShiftingPlane(glucose),
43 new AskewPlanes(glucose),
44 new Blinders(glucose),
45 new CrossSections(glucose),
46 new Psychedelia(glucose),
48 new Traktor(glucose).setEligible(false),
49 new BassPod(glucose).setEligible(false),
50 new CubeEQ(glucose).setEligible(false),
51 new PianoKeyPattern(glucose).setEligible(false),
63 new HelixPattern(glucose).setEligible(false),
66 new GlitchPlasma(glucose),
67 new FireEffect(glucose).setEligible(false),
68 new StripBounce(glucose),
69 new SoundRain(glucose).setEligible(false),
70 new SoundSpikes(glucose).setEligible(false),
71 new FaceSync(glucose),
78 new TimPlanes(glucose),
79 new TimPinwheels(glucose),
80 new TimRaindrops(glucose),
81 new TimCubes(glucose),
82 // new TimTrace(glucose),
83 new TimSpheres(glucose),
86 // new Sandbox(glucose),
87 new TowerParams(glucose),
88 new DriveableCrossSections(glucose),
89 new GranimTestPattern2(glucose),
95 new JazzRainbow(glucose),
98 new TelevisionStatic(glucose),
99 new AbstractPainting(glucose),
100 new Spirality(glucose),
102 // Basic test patterns for reference, not art
103 new TestCubePattern(glucose),
104 new TestTowerPattern(glucose),
105 new TestProjectionPattern(glucose),
106 new TestStripPattern(glucose),
107 new TestBassMapping(glucose),
108 new TestFloorMapping(glucose),
109 new TestSpeakerMapping(glucose),
110 // new TestHuePattern(glucose),
111 // new TestXPattern(glucose),
112 // new TestYPattern(glucose),
113 // new TestZPattern(glucose),
118 LXTransition[] transitions(GLucose glucose) {
119 return new LXTransition[] {
120 new DissolveTransition(lx),
121 new AddTransition(glucose),
122 new MultiplyTransition(glucose),
123 new OverlayTransition(glucose),
124 new DodgeTransition(glucose),
125 new SwipeTransition(glucose),
126 new FadeTransition(lx),
127 // new SubtractTransition(glucose), // similar to multiply - dh
128 // new BurnTransition(glucose), // similar to multiply - dh
129 // new ScreenTransition(glucose), // same as add -dh
130 // new SoftLightTransition(glucose), // same as overlay -dh
134 // Handles to globally triggerable effects
136 FlashEffect flash = new FlashEffect(lx);
137 BoomEffect boom = new BoomEffect(glucose);
138 BlurEffect blur = new BlurEffect(glucose);
139 QuantizeEffect quantize = new QuantizeEffect(glucose);
140 ColorFuckerEffect colorFucker = new ColorFuckerEffect(glucose);
145 colorFucker.enable();