Name | frameRate |
||
---|---|---|---|
Examples |
setup <- function() { frameRate(30) } draw <- function() { line(0, 0, width, height) println(frameCount) } | ||
Description | Specifies the number of frames to be displayed every second. For example, the function call frameRate(30) will attempt to refresh 30 times a second. If the processor is not fast enough to maintain the specified rate, the frame rate will not be achieved. Setting the frame rate within setup() is recommended. The default rate is 60 frames per second. | ||
Syntax | frameRate( | ||
Parameters |
| ||
Related |
frameRate_var frameCount setup draw loop noLoop redraw |
Cover
Reference
Tutorials
Bugs