A few weeks ago we helped our ex-tutors DWFE with their fantastically fun exhibition, Green=Boom. The installation sits somewhere between a criticism of media portrayal of violence and a managed cinematic experience. Anyway heres a video of the bomb prototyping process and a sneaky screen shot from the film that we will be releasing shortly, where we talk to them about the project.

We’re not normally in the habit of releasing code (purely because we doubt we do it as well as many other people), but thought it might be worth putting the processing/arduino code that we used for the countdown out there as didn’t seem very easy to find an example that did exactly what we were after:
int minutes, seconds, countmins, countsecs, diff, m;
int start = 0;
PFont fontA;
void setup(){
size(700, 250);
background(0);
frameRate(1);
fontA = loadFont(“FacsimileLL-200.vlw”);
textFont(fontA, 200);
}
void draw()
{
background(0);
m= millis()-start;
countmins = 1;
countsecs = 59;
diff = m/1000;
minutes = diff/60;
seconds = diff-minutes*60;
countmins = countmins – minutes;
countsecs = countsecs – seconds;
println(nf(countmins,2)+”:”+nf(countsecs,2));
fill(204,0,0);
text( (nf(countmins,2)+”:”+nf(countsecs,2)), 60, 200);
if(countmins < 1 && countsecs < 1){
delay(3000);
text(“05″+”:”+”00″);
println(“05″+”:”+”00″);
delay(1000);
countmins = 4;
countsecs = 59;
start = millis();
}
}