forked from processing/processing-web-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframeCount.xml
More file actions
executable file
·55 lines (34 loc) · 864 Bytes
/
Copy pathframeCount.xml
File metadata and controls
executable file
·55 lines (34 loc) · 864 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
54
55
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>frameCount</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(frameCount);
}
]]></code>
</example>
<description><![CDATA[The system variable <b>frameCount</b> contains the number of frames displayed since the program started. Inside <b>setup()</b> the value is 0 and and after the first iteration of draw it is 1, etc.]]></description>
<syntax><![CDATA[
frameRate
]]></syntax>
<parameter>
<label></label>
<description></description>
</parameter>
<returns></returns>
<related>
frameRate()
</related>
<availability>1.0</availability>
<type>System variable</type>
<partof>Core</partof>
</root>