Esta simulación explora el uso de pequeños muelles rígidos para manejar colisiones.
Puedes cambiar el número de bloques (de 1 a 3) y sus posiciones iniciales. Puedes
cambiar parámetros como la masa, la rigidez del muelle, la longitud del resorte y la amortiguación (fricción).
Se puede aplicar una fuerza del muelle con el ratón a cualquier bloque.
An advantage of using small stiff springs to do collision handling is that you don't
have to
back up in time
after detecting a collision. A disadvantage is that you have to take very small time
steps, at least when objects are close enough to be capable of colliding. Small time
steps are needed because the springs are stiff and small.
Using springs for collision handling is also discussed on the page about
Multiple Simultaneous Collisions.
Also available are:
open source code,
documentation and a
simple-compiled version
which is more customizable.
This web page was first published November 2016.