nimblephysics
nimblephysics copied to clipboard
GUI working on 10x slower fps
A sequence of 120 fps is actually visualized with 12 fps in NimbleGUI.
https://github.com/keenon/nimblephysics/blob/703fe05d967722f4d1eadf11504adabff37565ae/python/nimblephysics/gui_server.py#L48
^This ticker is sending 10x slower ticks (not realtime). Removing the multiplication with 10 works but it chokes up the browser with frequent calls and GUI starts lagging.
We can have the GUIServer in C++ silently drop frames that exceed some framerate threshold.
This is currently WIP, as part of a larger GUI clean-up/update. I should have something merged in this upcoming week.