mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user