Difference between revisions of "FSOSS 2010/processing.js/debugging1"

From CDOT Wiki
Jump to: navigation, search
(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(…')
 
(No difference)

Latest revision as of 13:40, 27 October 2010

/*
  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