oneshotlm
Compare all models on this prompt →

Double pendulum · llama-3.1-70b-instruct

Output generated Cost / run $0.0020 Runtime 23.9s

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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime23.9s
tokens in4.3k
tokens out750
cached0
cost / run$0.0020
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 (1729 bytes)
toolResult

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

assistant

A chaotic double pendulum simulation is now available in /tmp/ws/index.html.