Skip to content

Instantly share code, notes, and snippets.

@chl
Created March 29, 2010 19:29
Show Gist options
  • Save chl/348297 to your computer and use it in GitHub Desktop.
Save chl/348297 to your computer and use it in GitHub Desktop.
require("ringo/processing").wire(this);
function setup() {
size(800, 600);
colorMode(RGB, 1);
background(0);
stroke(0.8);
strokeWeight(10);
}
function mouseDragged() {
line(pmouseX, pmouseY, mouseX, mouseY);
}
run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment