Skip to content
Browse files

Shitty fire. Better greetz.

  • Loading branch information...
1 parent 3063cae commit 1fccc9688ef7325a69ec852cab0c96cfe61ae608 @potatono potatono committed May 19, 2012
Showing with 24 additions and 17 deletions.
  1. +14 −10 Greetz.pde
  2. +10 −7 domeTransmitter.pde
View
24 Greetz.pde
@@ -1,13 +1,14 @@
class Greetz extends Routine {
int FONT_SIZE = 16;
PFont font;
+ PImage imgCopy;
String messages[] = new String[] {
- "DISORIENT"//,
+ "N Y C R"//,
// "KOSTUME KULT",
// "BLACK LIGHT BALL"
// "COUNTRY CLUB"
};
- String message = "DISORIENT";
+ String message = "N Y C R";
void setup(PApplet parent) {
super.setup(parent);
@@ -25,15 +26,18 @@ class Greetz extends Routine {
}
fill(255,128,64);
- pushMatrix();
- rotate(HALF_PI);
- text(message, x, 0);
- popMatrix();
-
- PImage i = get(0,40-FONT_SIZE,WIDTH,FONT_SIZE);
- i.resize(WIDTH,FONT_SIZE*6);
- image(i,0,40-FONT_SIZE);
+ text(message, x, FONT_SIZE);
+ if (height/2 > FONT_SIZE) {
+
+ image(get(0,0,width,FONT_SIZE),0,20,width,height/2);
+ fill(0);
+ rect(0,0,width,FONT_SIZE);
+ //copy(0,0,width,FONT_SIZE,0,FONT_SIZE,width,FONT_SIZE/2);
+ //imgCopy = copy(0,0,width,FONT_SIZE);
+ //image(imgCopy,0,0,width,height);
+ }
+
if (frameCount % 2 == 0) {
x = x - 1;
}
View
17 domeTransmitter.pde
@@ -1,19 +1,23 @@
+import ddf.minim.*;
+import ddf.minim.signals.*;
+import ddf.minim.analysis.*;
+import ddf.minim.effects.*;
+
import codeanticode.gsvideo.*;
import processing.opengl.*;
import java.lang.reflect.Method;
import hypermedia.net.*;
import java.io.*;
-int WIDTH = 25;
+int WIDTH = 24;
int HEIGHT = 160;
boolean VERTICAL = false;
int FRAMERATE = 30;
-String hostname = "127.0.0.1"; //"192.168.1.130";
+String hostname = "192.168.1.162"; //"127.0.0.1"; //"192.168.1.130";
int TYPICAL_MODE_TIME = 30;
-Routine[] enabledRoutines = new Routine[] {/*
- new Greetz(),
- new Bursts(),
+Routine[] enabledRoutines = new Routine[] {
+/* new Bursts(),
new Flash(),
new Lines(),
new OppositeLines(),
@@ -25,8 +29,7 @@ Routine[] enabledRoutines = new Routine[] {/*
new RGBRoutine(),
new FlashColors(),
new FollowMouse(),*/
-
- new CrawlTest()
+ new Greetz()
};
int w = 0;

0 comments on commit 1fccc96

Please sign in to comment.
Something went wrong with that request. Please try again.