Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
783d5cbe
Commit
783d5cbe
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
waves: Status text, frame rate limit
parent
28cf6af7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/Processing/waves/waves.pde
+2
-0
2 additions, 0 deletions
examples/Processing/waves/waves.pde
with
2 additions
and
0 deletions
examples/Processing/waves/waves.pde
+
2
−
0
View file @
783d5cbe
...
...
@@ -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
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment