The current code reads entirely only the first frame it is supposed to display, skipping those that are obsolete (case where the representation speed is higher than the simulation frame rate).
Possible solution : (read and) update mass even if frame is not displayed
Solution of outputting from simulation masses at each frame even if they are unchanged should be avoided.
The current code reads entirely only the first frame it is supposed to display, skipping those that are obsolete (case where the representation speed is higher than the simulation frame rate).
Possible solution : (read and) update mass even if frame is not displayed
Solution of outputting from simulation masses at each frame even if they are unchanged should be avoided.