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.
26 LXPattern[] patterns(LX lx) {
27 return new LXPattern[] {
33 // new Cathedrals(lx),
41 new ShiftingPlane(lx),
44 new CrossSections(lx),
47 new MultipleCubes(lx),
49 new Traktor(lx).setEligible(false),
50 new BassPod(lx).setEligible(false),
51 new CubeEQ(lx).setEligible(false),
52 new PianoKeyPattern(lx).setEligible(false),
78 new JackieSquares(lx),
85 new L8onStripLife(lx),
92 new FireEffect(lx).setEligible(false),
94 new SoundRain(lx).setEligible(false),
95 new SoundSpikes(lx).setEligible(false),
105 new DriveableCrossSections(lx),
106 new GranimTestPattern2(lx),
109 // new HelixPattern(lx).setEligible(false),
115 new TelevisionStatic(lx),
116 new AbstractPainting(lx),
122 // Open pixel control server
123 new OpenPixelControl(lx, this),
125 // Basic test patterns for reference, not art
126 new TestCubePattern(lx),
127 new TestTowerPattern(lx),
128 new TestProjectionPattern(lx),
129 new TestStripPattern(lx),
130 // new TestHuePattern(lx),
131 // new TestXPattern(lx),
132 // new TestYPattern(lx),
133 // new TestZPattern(lx),
138 LXTransition[] transitions(LX lx) {
139 return new LXTransition[] {
140 new DissolveTransition(lx),
141 new AddTransition(lx),
142 new MultiplyTransition(lx),
143 new OverlayTransition(lx),
144 new DodgeTransition(lx),
145 new SwipeTransition(lx),
146 new FadeTransition(lx),
150 // Handles to globally triggerable effects
152 FlashEffect flash = new FlashEffect(lx);
153 BoomEffect boom = new BoomEffect(lx);
154 BlurEffect blur = new BlurEffect(lx);
155 QuantizeEffect quantize = new QuantizeEffect(lx);
156 ColorFuckerEffect colorFucker = new ColorFuckerEffect(lx);
161 colorFucker.enable();