Difference between revisions of "FSOSS 2010/processing.js/examples"
(Created page with '<pre> →Ellipse: void setup() { size(400, 400); } void draw() { ellipse(mouseX, mouseY, 80, 80); } </pre>') |
|||
Line 1: | Line 1: | ||
+ | ==Simple Ellipse== | ||
+ | <pre> | ||
+ | /* | ||
+ | Ellipse | ||
+ | */ | ||
+ | void draw() { | ||
+ | ellipse(width/2, height/2, 80, 80); | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | ==Ellipse== | ||
<pre> | <pre> | ||
/* | /* |
Revision as of 15:02, 15 September 2010
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); }