oneshotlm
Compare all models on this prompt →

3D solar system · claude-opus-5

Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.

⛨ sandboxed Open in new tab ↗
transcript · 10 messages
user

Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.

assistant

I'll check the library version first, then build the app.

bash {"command":"ls -la; grep -o 'REVISION=\"[0-9]*\"' three.min.js | head -1; grep -o 'REVISION:\"[0-9]*\"' three.min.js | head -1"}
toolResult

total 592 drwxr-sr-x. 2 node node 26 Aug 3 00:23 . drwxrwsrwx. 3 root node 16 Aug 3 00:23 .. -rw-r--r--. 1 node node 603445 Aug 3 00:23 three.min.js

assistant
bash {"command":"grep -o 'REVISION[=:]\"[^\"]*\"' three.min.js | head -3; grep -c 'MeshStandardMaterial' three.min.js; grep -o 'outputColorSpace'
toolResult

1 sRGBEncoding

assistant
thinking
I need to try a different search approach to find the REVISION.
bash {"command":"grep -o 'REVISION[^,;)]\\{0,20\\}' three.min.js | head -5; grep -o '\"1[0-9][0-9]\"' three.min.js | head -5"}
toolResult

REVISION=e "128" "100"

assistant
thinking
I'll go with r128 for the output encoding and use sRGBEncoding with MeshStandardMaterial. Since OrbitControls is an addon, I'll implement my own drag-based camera controls instead. Now I'm setting up the HTML file.

Three.js r128 detected (no addons, so I'll hand-roll orbit controls).

write /tmp/ws/index.html (19408 bytes)
toolResult

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

assistant

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

modelclaude-opus-5
vendorAnthropic · Claude
harnesspi-agent
generated2026-08-03

EVALUATION

4/5 working

A solar system simulator with orbiting planets, drag-to-pan, and scroll-to-zoom all functioning smoothly.

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 motion4.0%
on click4.5%
on drag13.4%
on wheel28.1%
on enter + space3.5%
on arrow keys3.8%
on w/a/s/d5.5%
frame spread47 / 255
console errors0
js errors none

METRICS

runtime107.4s
tokens in11k
tokens out10k
cached10k
cost / run$0.2698