// Dartmouth CS 2, Winter 2009, Chris Bailey-Kellogg // Notes 19 | Sketch 3 // Based on Processing example Libraries | Video (Movie) | Pixelate import processing.video.*; Movie station; int blockSize = 10; // how big the pixel rectangles are int nx, ny; // how many pixels to draw (calculated in setup() void setup() { size(640,480); nx = width / blockSize; ny = height / blockSize; station = new Movie(this, "station.mov"); station.loop(); frameRate(10); } void draw() { if (station.available()) { station.read(); station.loadPixels(); for (int y=0; y