We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello!
I'm using p5.js to animate some sprites. I changed the frame rate to 30fps. However the animation seems to be slower than 30fps. Does anyone know what's going on and help point me in the right direction to fix this?
Answers
frameRate will attempt to render at the rate you set; but it's by no means guaranteed: if the browser can't cope (because it's overloaded or running on slower hardware) it will render at a slower rate...