Created
September 27, 2013 12:33
-
-
Save kylemcdonald/6727922 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import processing.video.*; | |
| import java.awt.*; | |
| Capture video; | |
| void setup() { | |
| size(640, 480); | |
| video = new Capture(this, 640, 480); | |
| video.start(); | |
| } | |
| void draw() { | |
| image(video, 0, 0 ); | |
| } | |
| void captureEvent(Capture c) { | |
| c.read(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment