oneshotlm
Compare all models on this prompt →

Double pendulum · mercury-2

Output generated Cost / run $0.0026 Runtime 11.3s

Prompt for this run

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 ↗

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

METRICS

runtime11.3s
tokens in4.2k
tokens out2.2k
cached631
cost / run$0.0026
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.