Compara dos simulaciones de doble péndulo que se ejecutan simultáneamente.
Puede modificar los ángulos de inicio y la gravedad. El péndulo derecho se puede arrastrar con
una fuerza de resorte haciendo clic con el mouse cerca de él. Puede cambiar la separación entre
los péndulos para compararlos más fácilmente.
The two simulations being run are:
- The theoretically accurate
RigidDoublePendulumSim
shown in blue on the left.
- The equivalent double pendulum using the
2D Rigid Body Physics Engine
shown in red on the right.
The purpose is to show that the two are closely equivalent, which demonstrates the
accuracy of the physics engine. Although two very different simulation methods are
used, we get pretty much the exact same result.
The angles shown in the graphs are modified for the physics engine version so that
they are equivalent to the corresponding RigidDoublePendulumSim angles.
Also available are:
open source code,
documentation and a
simple-compiled version
which is more customizable.