javascript - PhysicsJS - spinning aggregates of newtonian bodies -


i've been playing physicsjs , noticed odd behavior bodies attract each other using 'newtonian' behavior.

one example of behavior on "newton's revenge" demo. @ first, bodies start glom expected. however, once lots of them have collected in 1 aggregation, whole thing begins spin faster , faster. centrifugal force dominates gravity , fly apart.

any ideas why happens? seems break conservation of energy/angular momentum. maybe related this issue bodies in contact 1 being unstable?

assuming hard-to-fix bug in physicsjs, there easy workaround prevent happening?


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -