welcome to a new home.
January 18th, 2008 admin
just feeling things out.
Posted in Blogroll, home, icm, physical computing | No Comments »
January 18th, 2008 admin
just feeling things out.
Posted in Blogroll, home, icm, physical computing | No Comments »
December 19th, 2007 admin
they are watching.
this project makes use of the growing number of cameras that monitor the traffic infrastructure of nyc. although the presence of such a large network of surveillance cameras presents serious issues of privacy, there is beauty to be found in the rhythmic patterns resonating through new york city.
this project relies on two separate applets. the first of these two runs subtly in the background constantly refreshing the bank of images used by the visualization aspect of the project. the visualization aspect treats each individual feed as an independant obejct. each feed can be described by a matrix of parameters allowing numerous visual alterations to be made to each individual feed. these parameters include blob detection thresholds, image opacity, tint, colour modifications etc. the end result is a self-updating visualization of the flow of traffic pulsing through new york city.
currently the feed and effect selections are defined in the code, however the completed iteration of this project will run autonomously. Each selected feed and the effects applied to it will be decided by the algorithm allowing the visualization to run in real time 24 hours a day, reflecting the actual traffic patterns of nyc at any given moment.
the image set below represents a few select screen shots.
Posted in home, icm | No Comments »
November 6th, 2007 admin
ICM midterm proposal – fall 2007
Posted in home, icm | No Comments »
October 17th, 2007 admin
the following processing code parses an xml file (which is being dynamically changed via php). depending on the value of the given fields from the xml feed, processing will send a byte to arduino via serial which will then trigger an RGB LED to emit a specific colour.
import processing.xml.*;
import processing.serial.*;
XMLElement xml;
int temperature;
String state;
String temp;
String timer;
int time;
Serial myPort;
void setup() {
size(200, 200);
myPort = new Serial(this, Serial.list()[0],9600);
}
void draw() {
xml = new XMLElement(this, “http://itp.nyu.edu/~ss4259/xmlfeed.php”);
int children = xml.getChildCount();
println(”elements “+children);
for (int i = 0; i < children; i++) {
XMLElement kid = xml.getChild(i);
int grand_kids = kid.getChildCount();
String names = kid.getStringAttribute(”values”);
println(”grand kidz:” + names);
for(int j = 0; j < grand_kids; j++){
XMLElement grand_kid = kid.getChild(j);
String stuff = grand_kid.getContent();
if(names.equals(”temp”) == true){
temp = grand_kid.getContent();
}
else if(names.equals(”state”) == true){
state = grand_kid.getContent();
}
else if(names.equals(”timer”) == true){
timer = grand_kid.getContent();
}
println(”Variables : ” + stuff);
}
//myPort.write(’A');
if (temp.equals(”33″)) {
myPort.write(’A');
}
else if(temp.equals(”250″)){
myPort.write(’B');
}
else if(temp.equals(”400″)){
myPort.write(’C');
}
else if (state.equals(”inactive”)) {
myPort.write(’D');
}
delay(150);
}
}
Posted in icm | No Comments »