oneshotlm
Compare all models on this prompt →

Double pendulum · mercury-2

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.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

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.

assistant
write index.html (2991 bytes)
toolResult

Successfully wrote 2991 bytes to index.html

assistant

The `index.html` file has been created in the current directory. Open it in a browser to see the chaotic double‑pendulum simulation with colorful fading trail.

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Double pendulum swings and traces a fading trail; motion continues over time but no colorful trail visible, mostly white/gray.

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.

idle motion0.7%
on click1.7%
on drag1.2%
on wheel2.2%
on enter + space2.0%
on arrow keys1.8%
on w/a/s/d1.8%
frame spread11.9 / 255
console errors0
js errors none

METRICS

runtime11.3s
tokens in4.2k
tokens out2.2k
cached631
cost / run$0.0026