repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No more SCEffect or SCTransition
[SugarCubes.git]
/
SugarCubes.pde
diff --git
a/SugarCubes.pde
b/SugarCubes.pde
index c80a4da38fd826b5ff3616cf98f742e93691d060..16e2402b59b24282119846a88322f7819b16ea7a 100644
(file)
--- a/
SugarCubes.pde
+++ b/
SugarCubes.pde
@@
-15,8
+15,8
@@
*
* Welcome to the Sugar Cubes! This Processing sketch is a fun place to build
* animations, effects, and interactions for the platform. Most of the icky
*
* Welcome to the Sugar Cubes! This Processing sketch is a fun place to build
* animations, effects, and interactions for the platform. Most of the icky
- * code guts are embedded in the
GLucose library extension. If you're an
- * a
rtist, you shouldn't need to worry about any of
that.
+ * code guts are embedded in the
HeronLX library, or files prefixed with
+ * a
n underscore. If you're an artist, you shouldn't need to worry about
that.
*
* Below, you will find definitions of the Patterns, Effects, and Interactions.
* If you're an artist, create a new tab in the Processing environment with
*
* Below, you will find definitions of the Patterns, Effects, and Interactions.
* If you're an artist, create a new tab in the Processing environment with
@@
-24,31
+24,68
@@
*/
LXPattern[] patterns(GLucose glucose) {
*/
LXPattern[] patterns(GLucose glucose) {
- return new LXPattern[] {
-
+ return new LXPattern[] {
+
+ new SineSphere(glucose),
+ //new CubeCurl(glucose),
+
// Slee
// Slee
+ // new Cathedrals(glucose),
new Swarm(glucose),
new Swarm(glucose),
+ new MidiMusic(glucose),
+ new Pulley(glucose),
+
+ new ViolinWave(glucose),
+ new BouncyBalls(glucose),
new SpaceTime(glucose),
new ShiftingPlane(glucose),
new AskewPlanes(glucose),
new Blinders(glucose),
new CrossSections(glucose),
new Psychedelia(glucose),
new SpaceTime(glucose),
new ShiftingPlane(glucose),
new AskewPlanes(glucose),
new Blinders(glucose),
new CrossSections(glucose),
new Psychedelia(glucose),
+
+ new MultipleCubes(glucose),
new Traktor(glucose).setEligible(false),
new BassPod(glucose).setEligible(false),
new CubeEQ(glucose).setEligible(false),
new PianoKeyPattern(glucose).setEligible(false),
new Traktor(glucose).setEligible(false),
new BassPod(glucose).setEligible(false),
new CubeEQ(glucose).setEligible(false),
new PianoKeyPattern(glucose).setEligible(false),
- // Dan
- new Pong(glucose),
+ // AntonK
+ new AKPong(glucose),
+
+ // DanH
new Noise(glucose),
new Noise(glucose),
+ new Play (glucose),
+ new Pong (glucose),
+ new Worms(glucose),
+ // JR
+ new Gimbal(glucose),
+
// Alex G
// Alex G
- new SineSphere(glucose),
+
+ // Tim
+ new TimMetronome(glucose),
+ new TimPlanes(glucose),
+ new TimPinwheels(glucose),
+ new TimRaindrops(glucose),
+ new TimCubes(glucose),
+ // new TimTrace(glucose),
+ new TimSpheres(glucose),
- // Shaheen
- new HelixPattern(glucose).setEligible(false),
+ // Jackie
+ new JackieSquares(glucose),
+ new JackieLines(glucose),
+ new JackieDots(glucose),
+
+ // L8on
+ new L8onAutomata(glucose),
+ new L8onLife(glucose),
+ new L8onStripLife(glucose),
+
+ // Vincent
+ new VSTowers(glucose),
// Toby
new GlitchPlasma(glucose),
// Toby
new GlitchPlasma(glucose),
@@
-61,21
+98,16
@@
LXPattern[] patterns(GLucose glucose) {
// Jack
new Swim(glucose),
new Balance(glucose),
// Jack
new Swim(glucose),
new Balance(glucose),
-
- // Tim
- new TimPlanes(glucose),
- new TimPinwheels(glucose),
- new TimRaindrops(glucose),
- new TimCubes(glucose),
- // new TimTrace(glucose),
- new TimSpheres(glucose),
-
+
// Ben
// Ben
- //new Sandbox(glucose),
+ //
new Sandbox(glucose),
new TowerParams(glucose),
new DriveableCrossSections(glucose),
new GranimTestPattern2(glucose),
new TowerParams(glucose),
new DriveableCrossSections(glucose),
new GranimTestPattern2(glucose),
-
+
+ // Shaheen
+ // new HelixPattern(glucose).setEligible(false),
+
// Sam
new JazzRainbow(glucose),
// Sam
new JazzRainbow(glucose),
@@
-83,15
+115,12
@@
LXPattern[] patterns(GLucose glucose) {
new TelevisionStatic(glucose),
new AbstractPainting(glucose),
new Spirality(glucose),
new TelevisionStatic(glucose),
new AbstractPainting(glucose),
new Spirality(glucose),
-
+
// Basic test patterns for reference, not art
new TestCubePattern(glucose),
new TestTowerPattern(glucose),
new TestProjectionPattern(glucose),
new TestStripPattern(glucose),
// Basic test patterns for reference, not art
new TestCubePattern(glucose),
new TestTowerPattern(glucose),
new TestProjectionPattern(glucose),
new TestStripPattern(glucose),
- new TestBassMapping(glucose),
- new TestFloorMapping(glucose),
- new TestSpeakerMapping(glucose),
// new TestHuePattern(glucose),
// new TestXPattern(glucose),
// new TestYPattern(glucose),
// new TestHuePattern(glucose),
// new TestXPattern(glucose),
// new TestYPattern(glucose),
@@
-103,17
+132,31
@@
LXPattern[] patterns(GLucose glucose) {
LXTransition[] transitions(GLucose glucose) {
return new LXTransition[] {
new DissolveTransition(lx),
LXTransition[] transitions(GLucose glucose) {
return new LXTransition[] {
new DissolveTransition(lx),
- new SwipeTransition(glucose),
+ new AddTransition(lx),
+ new MultiplyTransition(lx),
+ new OverlayTransition(lx),
+ new DodgeTransition(lx),
+ new SwipeTransition(lx),
new FadeTransition(lx),
new FadeTransition(lx),
+// new SubtractTransition(glucose), // similar to multiply - dh
+// new BurnTransition(glucose), // similar to multiply - dh
+// new ScreenTransition(glucose), // same as add -dh
+// new SoftLightTransition(glucose), // same as overlay -dh
};
}
};
}
-LXEffect[] effects(GLucose glucose) {
- return new LXEffect[] {
- new FlashEffect(lx),
- new BoomEffect(glucose),
- new DesaturationEffect(lx),
- new ColorFuckerEffect(glucose),
- };
+// Handles to globally triggerable effects
+class Effects {
+ FlashEffect flash = new FlashEffect(lx);
+ BoomEffect boom = new BoomEffect(lx);
+ BlurEffect blur = new BlurEffect(lx);
+ QuantizeEffect quantize = new QuantizeEffect(lx);
+ ColorFuckerEffect colorFucker = new ColorFuckerEffect(lx);
+
+ Effects() {
+ blur.enable();
+ quantize.enable();
+ colorFucker.enable();
+ }
}
}