FSOSS 2010/processing.js/examples

From CDOT Wiki
Revision as of 15:06, 15 September 2010 by Asalga (talk | contribs)
Jump to: navigation, search

Simple Ellipse

/*
  Ellipse
*/
void draw() {
  ellipse(width/2, height/2, 80, 80);
}


Ellipse

/*
  Ellipse
*/
void setup() {
  size(400, 400);
}

void draw() {
  ellipse(mouseX, mouseY, 80, 80);
}