Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Double Harmonic

Public visualization

Fork of Double Harmonic

0 stars0🌍 Public
Ggiulius540
Last edited Apr 30, 2021
Created on Apr 30, 2021
Forked from 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 description

Double Pendulum inspired by sisyphus table.

Comments

Sign in to join the discussion.

MIT Licensed