Aquesta simulació mostra 3 masses connectades per ressorts i lliures per a moure's en 2 dimensions.
Pot canviar paràmetres en la simulació, com la gravetat, la massa, la rigidesa del moll i la fricció (amortiment). Pot arrossegar qualsevol massa amb el ratolí per a canviar la posició inicial. El moll roig es pot configurar perquè tinga una rigidesa i una longitud diferents a les dels altres molls.
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.