made by Hsing Lo
equations from myPhysicsLab
This is a double pendulum simulator built by Hsing Lo heavily adapting differential equations from
myPhysicsLab. A double pendulum, mathmatically a four-dimentional system, is a chaotic system that is often
used as a demonstration for chaos because of its mesmerizing path and intuitiveness as a physical
contraption. This simulation simulates one or more double pendulums showing its chaotic patterns and
divergent tendency. This simulation uses Euler's method to estimate differential equations, iterating the
equations (at a default of) 1024 times per frame, or around 60000 times per second. A pendulum's state is
projected to
two dimensions while assuming no friction, perfectly rigid and massless joints, point masses, perfectly and
uniform gravity, all under classical mechanics; an simple implemention for drag is included but
not accessable to the user.
Below are some physics data in case you are interested. With the exception of
energy, they are all internally used. Units are up to the viewer's discretion as long as they are coherent.
Data updated every frame.