FSOSS 2010/processing.js/examples

From CDOT Wiki
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);
}

Text