Difference between revisions of "FSOSS 2010/processing.js/examples"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | ==Simple Ellipse== | + | == Simple Ellipse == |
<pre> | <pre> | ||
/* | /* | ||
Line 10: | Line 10: | ||
− | ==Ellipse== | + | == Ellipse == |
<pre> | <pre> | ||
/* | /* | ||
Line 23: | 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); }