Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import codeanticode.syphon.*;
- SyphonServer server;
- void setup(){
- size(800,600,P2D);
- strokeWeight(3);
- server = new SyphonServer(this, "Processing Syphon");
- }
- void draw(){
- if(mousePressed) line(mouseX,mouseY,pmouseX,pmouseY);
- server.sendScreen();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement