mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 11:51:54 +01:00
16 lines
280 B
Plaintext
Executable File
16 lines
280 B
Plaintext
Executable File
|
|
public void setup() {
|
|
size(800, 600, P2D);
|
|
fill(0);
|
|
}
|
|
|
|
public void draw() {
|
|
background(255);
|
|
for (int i = 0; i < 10000; i++) {
|
|
float x = random(width);
|
|
float y = random(height);
|
|
text("HELLO", x, y);
|
|
}
|
|
if (frameCount % 10 == 0) println(frameRate);
|
|
}
|