CS 2, Winter 2009
Programming for Interactive Digital Arts

SA 15, due Fri, Feb 27

Write a sketch that shows webcam video by way of falling drops. The drops (random positions, sizes, and speeds, at your discretion) take on the colors of the underlying webcam image. There is just a blank background otherwise; thus the image is clearer with more drops, but one can still get a glimpse with relatively few. You'll want to recycle the drops, popping them back to the top when they reach the bottom. Note that if, as usual, you keep the x and y coordinates of a drop as floats, you'll need to convert them to ints before accessing the webcam's pixels array: int(x)+int(y)*width.

screenshot

As always, turn in the zipfile on Blackboard, as SA 15 in the Assignments section. In the field where you can type in some information, please tell me roughly how long this assignment took, and if there were any particular difficulties.