Reference×
Reference
- [] (array access)
- = (assign)
- catch
- class
- , (comma)
- // (comment)
- {} (curly braces)
- /** */ (doc comment)
- . (dot)
- draw()
- extends
- false
- final
- implements
- import
- loop()
- /* */ (multiline comment)
- new
- noLoop()
- exit()
- () (parentheses)
- null
- pop()
- popStyle()
- public
- private
- pushStyle()
- push()
- redraw()
- return
- setLocation()
- ; (semicolon)
- setTitle()
- setResizable()
- setup()
- static
- super
- this
- thread()
- true
- try
- void
Name
frameCount
Description
The system variable frameCount contains the number o frames displayed since the program started. Inside setup() the value is 0 and during the first iteration of draw it is 1, etc.
Examples
void setup() { frameRate(30); } void draw() { line(0, 0, width, height); println(frameCount); }
Related

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.