forked from processing/processing-web-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframeRate_var.xml
More file actions
executable file
·53 lines (32 loc) · 922 Bytes
/
Copy pathframeRate_var.xml
File metadata and controls
executable file
·53 lines (32 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>frameRate</name>
<category>Environment</category>
<subcategory></subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
void setup() {
frameRate(30);
}
void draw() {
line(0, 0, width, height);
println(frameRate);
}
]]></code>
</example>
<description><![CDATA[The system variable <b>frameRate</b> contains the approximate frame rate of the software as it executes. The initial value is 10 fps and is updated with each frame. The value is averaged (integrated) over several frames. As such, this value won't be valid until after 5-10 frames.]]></description>
<syntax></syntax>
<parameter>
<label></label>
<description></description>
</parameter>
<returns></returns>
<related>
frameRate()
</related>
<availability>1.0</availability>
<type>System variable</type>
<partof>Core</partof>
</root>