Open main menu

CDOT Wiki β

FSOSS 2010/processing.js/examples

Revision as of 15:06, 15 September 2010 by Asalga (talk | contribs)

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);
}