Esta simulación muestra 3 masas conectadas por resortes y libres para moverse en 2 dimensiones.
Puede cambiar parámetros en la simulación, como la gravedad, la masa, la rigidez del muelle y la fricción (amortiguación). Puede arrastrar cualquier masa con el ratón para cambiar la posición inicial. El muelle rojo se puede configurar para que tenga una rigidez y una longitud diferentes a las de los otros muelles.
The math and physics used in this simulation are similar to the
2-D Spring and
Double 2-D Spring simulations. However the masses
can also collide with the walls; the collision handling is similar to the
Colliding Blocks simulation. The only novel bit of
math occurs when a mass is pinned against a wall: in that case we add up the net forces
on the mass and set the acceleration to zero if necessary.
Also available are:
open source code,
documentation and a
simple-compiled version
which is more customizable.