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 HeronLX library, or files prefixed with
19 * an underscore. If you're an artist, you shouldn't need to worry about 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.
25 LXPattern[] patterns(LX lx) {
26 return new LXPattern[] {
32 // new Cathedrals(lx),
40 new ShiftingPlane(lx),
43 new CrossSections(lx),
46 new MultipleCubes(lx),
48 new Traktor(lx).setEligible(false),
49 new BassPod(lx).setEligible(false),
50 new CubeEQ(lx).setEligible(false),
51 new PianoKeyPattern(lx).setEligible(false),
77 new JackieSquares(lx),
84 new L8onStripLife(lx),
91 new FireEffect(lx).setEligible(false),
93 new SoundRain(lx).setEligible(false),
94 new SoundSpikes(lx).setEligible(false),
104 new DriveableCrossSections(lx),
105 new GranimTestPattern2(lx),
108 // new HelixPattern(lx).setEligible(false),
114 new TelevisionStatic(lx),
115 new AbstractPainting(lx),
121 // Open pixel control server
122 new OpenPixelControl(lx, this),
124 // Basic test patterns for reference, not art
125 new TestCubePattern(lx),
126 new TestTowerPattern(lx),
127 new TestProjectionPattern(lx),
128 new TestStripPattern(lx),
129 // new TestHuePattern(lx),
130 // new TestXPattern(lx),
131 // new TestYPattern(lx),
132 // new TestZPattern(lx),
137 LXTransition[] transitions(LX lx) {
138 return new LXTransition[] {
139 new DissolveTransition(lx),
140 new AddTransition(lx),
141 new MultiplyTransition(lx),
142 new OverlayTransition(lx),
143 new DodgeTransition(lx),
144 new SwipeTransition(lx),
145 new FadeTransition(lx),
149 // Handles to globally triggerable effects
151 FlashEffect flash = new FlashEffect(lx);
152 BoomEffect boom = new BoomEffect(lx);
153 BlurEffect blur = new BlurEffect(lx);
154 QuantizeEffect quantize = new QuantizeEffect(lx);
155 ColorFuckerEffect colorFucker = new ColorFuckerEffect(lx);
160 colorFucker.enable();