Advertisement
orgicus

Basic Syphon Send Screen Test

May 18th, 2016
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1. import codeanticode.syphon.*;
  2. SyphonServer server;
  3.  
  4. void setup(){
  5.   size(800,600,P2D);
  6.   strokeWeight(3);
  7.   server = new SyphonServer(this, "Processing Syphon");
  8. }
  9. void draw(){
  10.   if(mousePressed) line(mouseX,mouseY,pmouseX,pmouseY);
  11.   server.sendScreen();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement