Processing
Here are some demonstration sketches I put togeather with Processing for a presentation last week. I’ll put up my final project (a data visualization) once its finished. Processing is an open-source language and environment for doing neat stuff easily.
This applet draws a series of boxes with user-manipulable lighting, viewing angle, and orthographic projection.
Move the mouse to change the directional lighting.
Click and hold the mouse to zoom in.
Press ‘1′ and move mouse to change camera position.
Press ‘2′ and move mouse to alter orthographic projection of the boxes.
This applet takes live video from a camera and translates the pixels into a three dimensional space based on pixel brightness and mouse location along the x axis.
Move the mouse left to right to alter the distance pixels are mapped along the z axis.
Cam uses your computer’s default capture device.
Evan said,
May 10, 2006 at 12:57 pm
I’m having problems getting Cam to work using a video file source instead of a camera, perhaps because of Bug 44 : sketches that use the video library can’t be exported for the web. but maybe not. We’ll see. I haven’t used Java-like video before. Take a look at the code if you’d like. It should work if you download the Processing environment from Processing.org and copy the code. I can’t really spend too much time revising it until after finals and whatnot..
Evan said,
May 15, 2006 at 5:34 pm
here are a series of still screenshots of me with a lighter so you can get an idea of what it does. bear in mind the manipulation is done in near-real time
http://users.vdov.net/~ewheeler/processing/cam/camCapture2.mov