Esta simulación muestra 4 masas conectadas por muelles, 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. Los muelles rojos se pueden configurar para que tengan una rigidez y una longitud diferentes a las de los otros muelles.
Haga clic en los botones a continuación para obtener varias combinaciones preestablecidas de configuración de parámetros.
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.