Skip to main content
100%

Fork of Double Harmonic

✓ Published0🌍 Public
TTehran Mammadov
Last edited Jun 16, 2022
Created on Jun 16, 2022
Forked from Double Harmonic

A two-link pendulum traces a spherical path as two connected circles rotate around a fixed center point. The animation uses `setInterval` to update the positions every 50 milliseconds, with the second circle’s motion offset by a constant psi value that creates the harmonic fork effect. The SVG rendering uses `selectAll` and `join` to update circle and line elements, applying black strokes for the pendulum arms and a white circle with a black border for the joint. The visualization responds to browser window dimensions, setting its size based on `window.innerWidth` and `window.innerHeight`.

AI-generated description

Double Pendulum inspired by sisyphus table.

MIT Licensed

Similar vizzes