Using the hand drawn style kills FPS performance
Closed this issue · 1 comments
C-Kenny commented
The hand drawn style provided by the Handy library, creates a less formal style of the visualizer. We've noticed that when this option is toggled on, frame rate performance drops.
To investigate:
- Do we have to perform the calculations on each frame
- Can we get away with more "loose" edges, and less demanding stressful operations per line drawn.
Currently 'h' will toggle on the hand drawn style.
C-Kenny commented
Adding println(frameRate);
we can get an idea of the frame rate. It varies between 20 + 40 fps, we're aiming for >60 fps so that it runs smoothly.
I've noticed that adding the "colour fill" drops the median frame rate from 60 -> 40 which seems extreme. Best to investigate.