4

Interactive Double Pendulum Playground Using SVG

 2 years ago
source link: https://dev.to/codrcrew/interactive-double-pendulum-playground-using-svg-4ach
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Interactive Double Pendulum Playground Using SVG

TRY IT: theabbie.github.io/DoublePendulum

SOURCE: github.com/theabbie/DoublePendulum

A double pendulum is a pendulum with another pendulum attached to its end, is a simple physical system that exhibits rich dynamic behavior with a strong sensitivity to initial conditions.

The motion of a double pendulum is governed by a set of coupled ordinary differential equations and is chaotic.

θ1'' =  −g (2 m1 + m2) sin θ1 − m2 g sin(θ1 − 2 θ2) − 2 sin(θ1 − θ2) m2 (θ2'2 L2 + θ1'2 L1 cos(θ1 − θ2)) L1 (2 m1 + m2 − m2 cos(2 θ1 − 2 θ2))
θ2'' =  2 sin(θ1 − θ2) (θ1'2 L1 (m1 + m2) + g(m1 + m2) cos θ1 + θ2'2 L2 m2 cos(θ1 − θ2)) L2 (2 m1 + m2 − m2 cos(2 θ1 − 2 θ2))

How To Use?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK