Video Leaf // part e


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…

One Response to “Video Leaf // part e”

  1. P{three-sixty}5 » Blog Archive » Fall Says:

    [...] P{three-sixty}5 Processing every day… « Video Leaf // part e [...]

Leave a Reply

You must be logged in to post a comment.