You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi & first of all thank you for this great library!
I am trying to find out when the simulation has reached a certain "heat" to stop the rendering and save performance. I thought simulation.getTotalMovement() could help me there but that always returns 0. Is that intended or am i using it wrong?
I am calling getTotalMovement() directly after step(). I can see the simulation is working because i am rendering the nodes as threejs objects.
( I guess this line is somehow related? You can also see the totalMovement var never being set to anything different than 0... )
The text was updated successfully, but these errors were encountered:
moments after writing this i found layout.getForceVectorLength() which helps me with the heat issue, ill leave this open since the initial question about getTotalMovement() might be interesting for someone else.
Is it just me, or after pinning a node getForceVectorLength() seems to increase forever and never settle back down -- making it impossible to detect when the heat has settled again?
Hi & first of all thank you for this great library!
I am trying to find out when the simulation has reached a certain "heat" to stop the rendering and save performance. I thought simulation.getTotalMovement() could help me there but that always returns 0. Is that intended or am i using it wrong?
I am calling getTotalMovement() directly after step(). I can see the simulation is working because i am rendering the nodes as threejs objects.
( I guess this line is somehow related? You can also see the totalMovement var never being set to anything different than 0... )
The text was updated successfully, but these errors were encountered: