mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
added GLW library for native window output using NEWT
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import processing.nwin.*;
|
||||
|
||||
void setup() {
|
||||
size(2560, 1440, NWin.P2D);
|
||||
frameRate(180);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(255, 0, 0);
|
||||
|
||||
fill(255);
|
||||
text("FPS: " + frameRate, mouseX, mouseY);
|
||||
}
|
||||
Reference in New Issue
Block a user