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 SpaceTime(glucose),
30 new Blinders(glucose),
31 new CrossSections(glucose),
32 new Psychedelia(glucose),
34 new PianoKeyPattern(glucose),
36 // Basic test patterns for reference, not art
37 // new TestHuePattern(glucose),
38 // new TestXPattern(glucose),
39 // new TestYPattern(glucose),
40 // new TestZPattern(glucose),
44 LXTransition[] transitions(GLucose glucose) {
45 return new LXTransition[] {
46 new DissolveTransition(lx),
47 new SwipeTransition(glucose),
48 new FadeTransition(lx),
52 LXEffect[] effects(GLucose glucose) {
53 return new LXEffect[] {
55 new BoomEffect(glucose),
56 new DesaturationEffect(lx),