10 lines
166 B
Plaintext
10 lines
166 B
Plaintext
size(600, 400);
|
|
|
|
background(255);
|
|
|
|
float x = 0; // change with horizontal position
|
|
for (int i = 0; i < width; i++) {
|
|
point(i, 150 + noise(x) * 200);
|
|
x += 0.01;
|
|
}
|