retrointerfacing

- connecting past and future -

Archive for the ‘projection’ tag

Video Projection System

without comments

For the 100th Gonnagle performance I designed a ‘live video drawing tool’ using webcam, LED spots and processing app..

projectie schrijfsel

Software has been written in Processing.. pretty straightforward.. Especially the filters are simple to use but very powerfull.. In the application they are controlled using a midi controller (Korg NanoKey)


void draw() {
background(255);
if (cam.available() == true) {
cam.read();
}
if (useRotate) {
translate(width/2, height/2);
rotate(PI);
translate(-width/2, -height/2);
}
image(cam, 0, 0);

if (useBW) filter(THRESHOLD, constrain(thresholdLevel, 0, 1));
if (useInvert) {filter(INVERT); fill(0);}
else fill(255);
if (useBlur) filter(BLUR,1);
if (useRotate) {
translate(width/2, height/2);
rotate(PI);
translate(-width/2, -height/2);
}
}

Written by edwin

May 3rd, 2012 at 9:02 pm

Posted in Processing, music

Tagged with