Skip to main content

← All pieces / Education / 273

Education273 / 375

Chaos Bench: A Double Pendulum Lab

Model: Claude Haiku 5.5. Original publisher page, source, prompt and licence are below.

Demo date 2026-11-20

The piece runs on the original author’s page. If it appears blank, embedding is likely blocked; use “Open original”.

About this piece

A dark laboratory instrument: RK4 integrates the standard double-pendulum equations in eight substeps per frame; the lime lower bob leaves a trail that fades and shifts toward cyan with speed, while a phase portrait accumulates θ1 against θ2. Arm lengths, mass ratio, gravity and trail length are adjustable; drag either bob to set angles, and TWIN adds a rose pendulum offset by 0.001 rad so the paths visibly diverge. The craft is numerical integration actually driving motion, energy readouts and the phase plot. Boundary: an ideal double pendulum, ignoring drag, bearing friction and elasticity.

Source & prompt

The repository declares no licence; the work runs on the publisher’s page and is not copied here.