I couldn’t find a way to make nannou or mesa measure the frame rate, so here is a simple manual solution. It calculates the frame rate after every 100 frames. I would have preferred constant time intervals but I also wanted this code to have as little own impact on the performance as possible.
I couldn’t find a way to make nannou or mesa measure the frame rate, so here is a simple manual solution. It calculates the frame rate after every 100 frames. I would have preferred constant time intervals but I also wanted this code to have as little own impact on the performance as possible.