Reference frameCount

frameCount

A Number variable that tracks the number of frames drawn since the sketch started.

frameCount's value is 0 inside setup(). It increments by 1 each time the code in draw() finishes executing.

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!

Related References