🌍 Public
Viewing a saved revision (read-only)
664944bc933845e39f9d1b090c6181b2
Fork of Double Harmonic
This example shows a double pendulum animation, drawing a small ball as the endpoint of two connected, rotating line segments. The code uses d3.js v6 with a time-driven `setInterval` loop to update the pendulum's position based on a constant time step and a phase-shift ratio (`psi`). It renders the scene as SVG, creating the arm lines, a moving ball, and a large hollow circle marker at the endpoint. The visualization demonstrates the harmonic motion of the two-segment system.
AI-generated descriptionDouble Pendulum inspired by sisyphus table.