29-08-08 09:08 Age: 2 yrs

LowRes Cam

Category: Technology, Demoscene



LowRes Cam is my entry for the DBF Reduced Resolution competition. It features realtime pixel manipulation of the video stream from a webcam.

The competition is about making an effect with a maximum of 4 colours on screen at once or/and a maximum resolution of 160 * 120 pixels. I decided that my effect matches both criterias.

That's why I set the camera resolution to 160 * 120 pixels. Since this resolution would be too small to show - I multiplied them with the factor 4 so I ended up with a visual resolution of 640 * 480 pixels. Each "pixel" of the screen has a width and height of 4. In addition I transformed the colors to a palette of only four. The colors I used are:

0x00000000 / 0x00006600 / 0x0000AA00 / 0x0000FF00

Choosing this green color-scheme gives the effect a nice matrix-touch.

So, if you have a webcam have a look at yourself at the following URL:

http://labs.weltenkonstrukteur.de/lowrescam

Credits for the music must go to Andrew Potterton. All 3.0 actionscript code was done by me (I really start to like the flash platform).




Links:

dbfinteractive.com/forum/index.php

labs.weltenkonstrukteur.de/lowrescam