Files
sunny9898/task8/wk7/wk7_example7a/wk7_example7a.pde
louiscklaw 5637fbf94f update,
2025-02-01 02:07:58 +08:00

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;
}