Skip to content
Snippets Groups Projects
Commit 783d5cbe authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

waves: Status text, frame rate limit

parent 28cf6af7
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ OPC opc;
void setup() {
size(640, 360, P2D);
frameRate(30);
effect = loadShader("effect.glsl");
effect.set("resolution", float(width), float(height));
......@@ -62,6 +63,7 @@ void draw() {
// Status text
textSize(12);
text("Keys: [D]ithering off, [I]nterpolation off, Status [L]ED", 10, 330);
text("FW Config: " + opc.firmwareConfig + ", " + " Color: " + opc.colorCorrection, 10, 350);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment