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>') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Simple Ellipse == | ||
+ | <pre> | ||
+ | /* | ||
+ | Ellipse | ||
+ | */ | ||
+ | void draw() { | ||
+ | ellipse(width/2, height/2, 80, 80); | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Ellipse == | ||
<pre> | <pre> | ||
/* | /* | ||
Line 11: | Line 23: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | == Text == |
Latest revision as of 15:09, 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); }