mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 21:29:17 +01:00
14 lines
195 B
Plaintext
14 lines
195 B
Plaintext
import processing.glw.*;
|
|
|
|
void setup() {
|
|
size(2560, 1440, GLW.P2D);
|
|
frameRate(180);
|
|
}
|
|
|
|
void draw() {
|
|
background(255, 0, 0);
|
|
|
|
fill(255);
|
|
text("FPS: " + frameRate, mouseX, mouseY);
|
|
}
|