oneshotlm
Compare all models on this prompt →

Rotating icosahedron · claude-opus-5

Using the pre-provided three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.

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

Using the pre-provided three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.

assistant

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

bash {"command":"ls -la; grep -o 'REVISION=\"[^\"]*\"' three.min.js | head -3; grep -o \"REVISION='[^']*'\" three.min.js | head -3"}
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[^,;]\\{0,20\\}' three.min.js | head -5; grep -c 'outputColorSpace' three.min.js; grep -c 'MeshPhysicalMaterial
toolResult

REVISION=e 0 1

assistant
bash {"command":"grep -o 'REVISION=e[^]*\\?.\\{0,80\\}' three.min.js | head -2; grep -o '\"1[0-9][0-9]\"' three.min.js | head -20; grep -o 'outpu
toolResult

grep: Unmatched [, [^, [:, [., or [= "128" "100" outputEncoding outputEncoding

assistant
thinking
Looking at the older revisions with the r1xx pattern that use outputEncoding but lack outputColorSpace, I need to identify the specific revision value.
bash {"command":"grep -o 'e=\"1[0-9][0-9][^\"]*\"' three.min.js | head -5; grep -o 'const e=\"[^\"]*\"' three.min.js|head -3; grep -o 'physically
toolResult

e="128" const e="128" const e="unsupported interpolation for " physicallyCorrectLights

assistant
thinking
I'm settling on outputEncoding with sRGBEncoding and disabling color management, and confirming that IcosahedronGeometry is available to use.

Three.js r128 detected. Writing the app:

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

Successfully wrote 7698 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

3/5 working

Rotating icosahedron with two point lights auto-orbits and responds to click, drag, wheel, and keyboard input by reorienting.

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 motion28.4%
on click24.3%
on drag17.1%
on wheel35.4%
on enter + space37.9%
on arrow keys34.6%
on w/a/s/d40.0%
frame spread80.9 / 255
console errors0
js errors none

METRICS

runtime51.7s
tokens in14k
tokens out4.4k
cached13k
cost / run$0.1209