oneshotlm
Compare all models on this prompt →

Double pendulum · gpt-5.6-luna-pro

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 /tmp/ws/index.html (8744 bytes)
toolResult

Successfully wrote 8744 bytes to /tmp/ws/index.html

assistant

Created `/tmp/ws/index.html` with: - Correct double-pendulum equations of motion - RK4 numerical integration - Canvas-rendered arms and pendulum bobs - Colorful fading trail for the lower bob - Gravity and simulation-speed controls - Pause/resume and reset controls - Canvas interaction for repositioning the lower pendulum - Fully self-contained HTML with no external resources or network requests

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

modelgpt-5.6-luna-pro
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Double pendulum with colorful fading trail animates continuously; drag/click/wheel perturb it, space pauses correctly.

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 motion9.2%
on click19.7%
on drag20.1%
on wheel19.1%
on enter + space3.3%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread23.2 / 255
console errors0
js errors none

METRICS

runtime37.4s
tokens in15k
tokens out8.2k
cached13k
cost / run$0.0325