oneshotlm
Compare all models on this prompt →

Double pendulum · qwen3-next-80b-a3b-instruct

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

I'll create a single-page web app that simulates a chaotic double pendulum with a colorful fading trail. This will be implemented in one HTML file with embedded CSS and JavaScript.

write index.html (6177 bytes)
toolResult

Successfully wrote 6177 bytes to index.html

assistant

I've created a single-page web app that simulates a chaotic double pendulum with a colorful fading trail. The implementation includes: 1. A canvas element that fills the entire viewport 2. Physics simulation using the correct equations of motion for a double pendulum 3. Runge-Kutta 4th order integration for accurate numerical simulation 4. A colorful fading trail that shows the path of the second pendulum bob 5. Visual representation with red and cyan bobs and white arms The simulation runs entirely in the browser with no external dependencies, and the trail gradually fades out to create a beautiful visual effect of the chaotic motion. The HTML file is ready to use and contains all necessary CSS and JavaScript in a single file.

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

modelqwen3-next-80b-a3b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Chaotic double pendulum animates continuously with colorful fading trails, though inputs seem to have no distinct effect beyond normal simulation drift.

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 motion6.2%
on click9.2%
on drag8.3%
on wheel7.4%
on enter + space6.6%
on arrow keys8.5%
on w/a/s/d7.4%
frame spread18 / 255
console errors0
js errors none

METRICS

runtime18.1s
tokens in2.8k
tokens out2.1k
cached2.2k
cost / run$0.0027