Slit scan videos
in
Core Library Questions
•
2 years ago
I am a beginner to Processing but I would like to take a Quick time video of mine and turn it into a slit scan moving image.
I have seen others on YouTube and Vimeo so I am sure that it can be done, I am just not sure how.
e.g. :
http://vimeo.com/13831859
I have tried many different codes like this one:
import processing.video.*; Capture C; int X=0; void setup(){ C = new Capture(this, 320,240); size(600,240); } void draw() { if(C.available()) { C.read(); copy(C, (C.width/2),0,1,C.height, (X++%width),0,1,height); }
}
However this produced a video in real time from my webcam rather than recording what it imports.
If anyone could help I would be thankful, as a beginner to writing scrips I am unsure of how to edit them and input the correct information.
Thanks
Elena
1