oneshotlm
Compare all models on this prompt →

Double pendulum · inkling-small

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
The user wants a chaotic double pendulum simulation. I'll create a self-contained index.html with canvas, correct physics equations, colorful fading trail of the tip, and arm drawing.
write index.html (3614 bytes)
toolResult

Successfully wrote 3614 bytes to index.html

assistant
thinking
The file is written. I should briefly confirm it uses correct equations and includes the colorful fading trail.

Created `index.html`: uses correct double-pendulum equations of motion with RK-style substeps, draws two arms and bobs, and renders a colorful fading trail of the tip with hue shifting and alpha falloff. Fully self-contained, 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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Double pendulum swings smoothly with colorful fading trail; click resets/nudges it, other inputs cause minor changes.

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 motion1.3%
on click1.2%
on drag1.1%
on wheel1.4%
on enter + space1.5%
on arrow keys1.4%
on w/a/s/d1.1%
frame spread9.2 / 255
console errors0
js errors none

METRICS

runtime10.4s
tokens in4.1k
tokens out1.6k
cached2.4k
cost / run$0.0058