💻 Gets the current FPS, in terms of how many frames could be generated in one second, which can be higher than the target frame rate.
Use your web browser's developer tools for more in-depth performance analysis.
frames per second
q5.draw = function () { background(0.8); frameRate(1); textSize(64); text(getFPS(), -92, 20);}; Copy
q5.draw = function () { background(0.8); frameRate(1); textSize(64); text(getFPS(), -92, 20);};
💻 Gets the current FPS, in terms of how many frames could be generated in one second, which can be higher than the target frame rate.
Use your web browser's developer tools for more in-depth performance analysis.