Double pendulum · inkling-small
Simulate a chaotic double pendulum on a canvas using the correct equations of motion, drawing the arms and a colorful fading trail of the tip.
transcript · 4 messages
Simulate a chaotic double pendulum on a canvas using the correct equations of motion, drawing the arms and a colorful fading trail of the tip.
thinking
The user wants a chaotic double pendulum simulation. I'll create a self-contained index.html with canvas, correct physics equations, colorful fading trail of the tip, and arm drawing.
index.html (3614 bytes)Successfully wrote 3614 bytes to index.html
thinking
The file is written. I should briefly confirm it uses correct equations and includes the colorful fading trail.
Created `index.html`: uses correct double-pendulum equations of motion with RK-style substeps, draws two arms and bobs, and renders a colorful fading trail of the tip with hue shifting and alpha falloff. Fully self-contained, no external resources.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
EVALUATION
Double pendulum swings smoothly with colorful fading trail; click resets/nudges it, other inputs cause minor changes.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.