Examples updates for 2.0

This commit is contained in:
Casey Reas
2011-07-17 06:50:01 +00:00
parent d996b52e66
commit 84dd359b1e
33 changed files with 305 additions and 280 deletions
+3 -3
View File
@@ -16,14 +16,14 @@ float easing = 0.05;
void setup()
{
size(200, 200);
size(640, 360);
smooth();
noStroke();
}
void draw()
{
background( 51 );
background(51);
targetX = mouseX;
float dx = targetX - x;
@@ -37,5 +37,5 @@ void draw()
y += dy * easing;
}
ellipse(x, y, 33, 33);
ellipse(x, y, 66, 66);
}