computer-graphics-mass-spring-systems icon indicating copy to clipboard operation
computer-graphics-mass-spring-systems copied to clipboard

toggle animation

Open microshadow opened this issue 5 years ago • 1 comments

after running ./masssprings ..... I press 'A' to toggle the animation, but the spring just disappears, and nothing left on the screen but background color. Anyone meet the same issue?

microshadow avatar Dec 03 '19 02:12 microshadow

This likely means that all your positions are infinity or NaN. Try using a debugger and run the simulation for one timestep (use spacebar to do this) and look at Unext.

abhimadan avatar Dec 03 '19 02:12 abhimadan