Double Pendulum

Lets create a double pendulum in Observable JS!

My original Double Pendulum done in Python and Processing.js

The webpage "Double Pendulum – Anson’s Projects" discusses the creation of a double pendulum using Observable JS, a tool for interactive visualizations. The author expresses a desire to explore new data visualization tools beyond traditional methods like plotly diagrams or Jupyter notebooks. They reflect on their previous experience with a double pendulum project done in Python and Processing.js, which gained popularity online. The webpage includes a video link showcasing the original project and provides a JavaScript code snippet for the new implementation. The code details the physics calculations necessary for simulating the double pendulum's movement, including angular velocities and positions. The author acknowledges that their JavaScript implementation may not be idiomatic, emphasizing their beginner status with the language. Despite the challenges, they find the real-time interactivity and visual appeal of the JavaScript version to be significant improvements over prior attempts. The author notes a loss of energy in the system, attributing it to potential issues with JavaScript's handling of timesteps. Overall, the project represents a blend of experimentation and learning in the realm of interactive coding.

This content was originally posted on my projects website here. The above summary was made by the Kagi Summarizer