FSOSS 2010/processing.js/debugging1

From CDOT Wiki
Revision as of 13:40, 27 October 2010 by Asalga (talk | contribs) (Created page with '<source lang="JavaScript"> Andor Salga FSOSS 2010 Example of println: void setup(){ size(250, 250); } void draw(){ background(33, 66, 99); } void mouseReleased(…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/*
  Andor Salga
  FSOSS 2010
  Example of println
*/

void setup(){
  size(250, 250);
}

void draw(){
  background(33, 66, 99);
}

void mouseReleased(){
  println("Cursor Coords: " + mouseX + "," + mouseY);
}

Run me