oneshotlm
Compare all models on this prompt →

Double pendulum · kimi-k3

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
thinking
Write a single index.html with double pendulum simulation, RK4, hue trail.
write /workspace/index.html (4405 bytes)
toolResult

Successfully wrote 4405 bytes to /workspace/index.html

assistant

Created `index.html` — a self-contained double pendulum simulator: - **Correct physics**: standard double-pendulum equations of motion integrated with RK4 at 400 substeps/frame for stability. - **Visuals**: canvas with fading hue-cycling trail of the tip, pivot + two bobs, arms drawn on top. - **Controls**: click to randomize initial angles, Space to pause, R to reset. 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

modelkimi-k3
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-28

EVALUATION

4/5 working

Double pendulum simulation animates chaotically with colorful fading trail; enter/space seems to reset it.

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 motion13.1%
on click14.9%
on drag14.9%
on wheel16.3%
on enter + space8.7%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread19.4 / 255
console errors0
js errors none

METRICS

runtime53.7s
tokens in2.1k
tokens out2.0k
cached2.6k
cost / run$0.0085