oneshotlm
Compare all models on this prompt →

Double pendulum · ministral-14b-2512

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 (6434 bytes)
toolResult

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

assistant

The chaotic double pendulum simulation is now complete and saved as `index.html` in `/tmp/ws/`. You can open this file in a web browser to see the simulation in action. ### Features: - **Physics**: Correct equations of motion for a double pendulum. - **Visuals**: Two arms with masses at the ends. - **Trail**: A colorful, fading trail of the pendulum's tip. - **Responsive**: Adjusts to window size. Simply open the file in a browser to run it—no network or external resources are required!

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

modelministral-14b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Double pendulum swings with fading colored trail; motion decays/settles quickly and no input alters behavior.

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.5%
on click0.7%
on drag0.5%
on wheel0.4%
on enter + space0.5%
on arrow keys0.5%
on w/a/s/d0.5%
frame spread5.2 / 255
console errors0
js errors none

METRICS

runtime22.4s
tokens in4.8k
tokens out2.1k
cached4.0k
cost / run$0.0007