mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
This commit is contained in:
@@ -18,7 +18,6 @@ void setup() {
|
||||
size(640, 360);
|
||||
frameRate(30);
|
||||
colorMode(RGB, 255, 255, 255, 100);
|
||||
smooth();
|
||||
w = width + 16;
|
||||
|
||||
for (int i = 0; i < maxwaves; i++) {
|
||||
|
||||
@@ -10,7 +10,6 @@ Eye e1, e2, e3;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
noStroke();
|
||||
e1 = new Eye( 250, 16, 120);
|
||||
e2 = new Eye( 164, 185, 80);
|
||||
|
||||
@@ -10,7 +10,6 @@ float max_distance;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
noStroke();
|
||||
max_distance = dist(0, 0, width, height);
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ float xincrement = 0.01;
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
background(0);
|
||||
smooth();
|
||||
noStroke();
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ float[] yvalues; // Using an array to store height values for the wave
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
colorMode(RGB,255,255,255,100);
|
||||
smooth();
|
||||
w = width+16;
|
||||
yvalues = new float[w/xspacing];
|
||||
}
|
||||
|
||||
@@ -16,7 +16,6 @@ float theta_acc;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
|
||||
// Initialize all values
|
||||
r = height * 0.45;
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
background(0);
|
||||
strokeWeight(20);
|
||||
frameRate(2);
|
||||
|
||||
@@ -11,7 +11,6 @@ void setup() {
|
||||
size(640, 360);
|
||||
diameter = height - 10;
|
||||
noStroke();
|
||||
smooth();
|
||||
noStroke();
|
||||
fill(255, 204, 0);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ float scalar = 70;
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
noStroke();
|
||||
smooth();
|
||||
rectMode(CENTER);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ float[] yvalues; // Using an array to store height values for the wave
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
smooth();
|
||||
w = width+16;
|
||||
dx = (TWO_PI / period) * xspacing;
|
||||
yvalues = new float[w/xspacing];
|
||||
|
||||
Reference in New Issue
Block a user