Home Jensen Archive jWiki Jensen News Jensen Cloud Jensen Programming Jensen Family Tree JensenDiary
This program makes different color scales in real time with the user's camera.
import processing.video.*; import controlP5.*; float resolution = 10f; Capture cam; Slider sliderR,sliderG,sliderB; void setup() { size(640,480); String[] cameras; do{ cameras = Capture.list(); }while(cameras.length==0); if (cameras.length == 0) { println("There are no cameras available for capture."); exit(); } else { println("Available cameras:"); for (int i = 0; i < cameras.length; i++) { ...
If you have a problem with this code, you can contact me at gerardjensenolmo@gmail.com