nimblephysics icon indicating copy to clipboard operation
nimblephysics copied to clipboard

GUI working on 10x slower fps

Open chaitanya100100 opened this issue 4 years ago • 1 comments

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.

chaitanya100100 avatar Oct 14 '21 18:10 chaitanya100100

This is currently WIP, as part of a larger GUI clean-up/update. I should have something merged in this upcoming week.

keenon avatar Nov 06 '21 19:11 keenon