Archive for the 'Object-oriented' Category

Fall

Monday, June 8th, 2009

This is the culmination of the Video Leaf sketch. (However somewhere along the way the video input part got left out.) The video projector casts a shadow on the wall and virtual leaves are aligned to the shadow. When the viewer taps the physical twig, the leaves in the drop from the shadow tree.

This piece was on exhibit Grey. Green. show.

Video Leaf // part e

Tuesday, March 24th, 2009


download the app (Mac only)—view the code (main file, leaf class)

The color filling the brown leaf is calculated by averaging the hue of every pixel in the video frame. The color in the green leaf is just green. Hey, it’s a work-in-progress…

Video Leaf // ver E
The leaf shape is an SVG. Its fill color determined by the average color of the webcam input. The leaf veins are a transparent PNG overlaid on the SVG.

This sketch cannot run in the browser because of security issues with the applet accessing the webcam. If you are running OS X and have a webcam, you can download a standalone app of the sketch.

This is a test for a piece I am developing for a gallery installation. More details to come…

Bouncing Bubbles

Sunday, December 30th, 2007

_20071230_objArray_b
run the sketch—view the code

How do you use it?
Just take it in.

What is it?
Another quick one today.

Why is it cool?
Each dot is an object. They’re stored in an array.