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.
27 LXPattern[] patterns(GLucose glucose) {
28 return new LXPattern[] {
36 //new ScreenScrape(glucose),
37 new SpaceTime(glucose),
38 new ShiftingPlane(glucose),
39 new AskewPlanes(glucose),
40 new Blinders(glucose),
41 new CrossSections(glucose),
42 new Psychedelia(glucose),
44 new Traktor(glucose).setEligible(false),
45 new BassPod(glucose).setEligible(false),
46 new CubeEQ(glucose).setEligible(false),
47 new PianoKeyPattern(glucose).setEligible(false),
51 gplay=new Play(glucose), // XXX do this properly
55 new SineSphere(glucose),
58 new HelixPattern(glucose).setEligible(false),
61 new GlitchPlasma(glucose),
62 new FireEffect(glucose).setEligible(false),
63 new StripBounce(glucose),
64 new SoundRain(glucose).setEligible(false),
65 new SoundSpikes(glucose).setEligible(false),
66 new FaceSync(glucose),
73 new TimPlanes(glucose),
74 new TimPinwheels(glucose),
75 new TimRaindrops(glucose),
76 new TimCubes(glucose),
77 // new TimTrace(glucose),
78 new TimSpheres(glucose),
81 //new Sandbox(glucose),
82 new TowerParams(glucose),
83 new DriveableCrossSections(glucose),
84 new GranimTestPattern2(glucose),
88 new JazzRainbow(glucose),
91 new TelevisionStatic(glucose),
92 new AbstractPainting(glucose),
93 new Spirality(glucose),
96 // Basic test patterns for reference, not art
97 new TestCubePattern(glucose),
98 new TestTowerPattern(glucose),
99 new TestProjectionPattern(glucose),
100 new TestStripPattern(glucose),
101 new TestBassMapping(glucose),
102 new TestFloorMapping(glucose),
103 new TestSpeakerMapping(glucose),
104 // new TestHuePattern(glucose),
105 // new TestXPattern(glucose),
106 // new TestYPattern(glucose),
107 // new TestZPattern(glucose),
112 LXTransition[] transitions(GLucose glucose) {
113 return new LXTransition[] {
114 new DissolveTransition(lx),
115 new SwipeTransition(glucose),
116 new FadeTransition(lx),
120 LXEffect[] effects(GLucose glucose) {
121 return new LXEffect[] {
123 new BoomEffect(glucose),
124 //new DesaturationEffect(lx),
125 //new ColorFuckerEffect(glucose),
126 new DualBlender(glucose),