This commit is contained in:
Casey Reas
2011-09-18 06:31:29 +00:00
parent 76e9248e00
commit 5b0214704c
86 changed files with 95 additions and 178 deletions
@@ -20,7 +20,6 @@ void setup()
noStroke();
frameRate(30);
ellipseMode(RADIUS);
smooth();
// Set the starting position of the shape
xpos = width/2;
ypos = height/2;
@@ -1,6 +1,6 @@
/**
* Bouncy Bubbles.
* Based on code from Keith Peters (www.bit-101.com).
* Bouncy Bubbles
* based on code from Keith Peters.
*
* Multiple-object collision.
*/
@@ -16,7 +16,6 @@ void setup()
{
size(640, 360);
noStroke();
smooth();
for (int i = 0; i < numBalls; i++) {
balls[i] = new Ball(random(width), random(height), random(30, 70), i, balls);
}
@@ -18,7 +18,6 @@ PVector[] vels = {
void setup() {
size(640, 360);
smooth();
noStroke();
}
@@ -21,7 +21,6 @@ void setup()
{
size(640, 360);
noStroke();
smooth();
distX = endX - beginX;
distY = endY - beginY;
}
@@ -19,7 +19,6 @@ void setup(){
size(640, 360);
frameRate(30);
fill(128);
smooth();
baseX1 = 0;
baseY1 = height-150;
baseX2 = width;
@@ -15,7 +15,6 @@ float[] peakHeights = new float[segments+1];
void setup(){
size(640, 360);
smooth();
orb = new Orb(50, 50, 3);
velocity = new PVector(.5, 0);