FSOSS 2010/processing.js/example1

From CDOT Wiki
Revision as of 14:01, 5 October 2010 by Asalga (talk | contribs)
Jump to: navigation, search


/*
  FSOSS 2010
  Example 1
*/

// Set the size of the canvas. This will overwrite the canvas
// HTML attributes. This should be the first line in your sketch
size(100, 100);

// Set the background color to gray
background(200);

// Reference page for rectangle:
// http://www.processing.org/reference/rect_.html
rect(5, 20, 70, 50);

Run me