oneshotlm
Compare all models on this prompt →

Rotating icosahedron · claude-opus-4.8

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 · 8 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
thinking
I need to check the version of three.min.js and then build the file.
bash {"command":"head -c 300 three.min.js; echo; grep -o 'REVISION=\"[0-9]*\"' three.min.js | head"}
toolResult

/** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).THREE={})}(th

assistant
write index.html (3707 bytes)
toolResult

Successfully wrote 3707 bytes to index.html

assistant
bash {"command":"ls -la index.html && node -e \"let s=require('fs').readFileSync('index.html','utf8');console.log('has three script:',/three\\.mi
toolResult

-rw-r--r-- 1 node node 3707 Jul 8 02:59 index.html has three script: true

assistant

Done. `index.html` is a self-contained single-page app that loads the local `three.min.js`. What it renders: - **Rotating icosahedron** — flat-shaded metallic `MeshStandardMaterial`, spinning on X/Y. - **Two colored point lights** — a red (`0xff3366`) and a blue (`0x3388ff`) light orbiting the object, each visualized with a small glowing sphere. - **Orbit-style auto-rotation** — the camera continuously circles the scene and looks at the center. - **Subtle starfield** — 1500 points distributed on a sphere shell, slowly drifting. Fully sandboxed: no CDNs or network requests, all CSS/JS inline, and it handles window resize. Open `index.html` in a browser to view.

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-4.8
vendorAnthropic · Claude
harnesspi-agent
generated2026-07-08

EVALUATION

3/5 working

Rotating icosahedron lit by red/blue point lights over a starfield, auto-rotates continuously; inputs cause only minor lighting/position shifts.

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 motion2.9%
on click3.1%
on drag2.7%
on wheel3.2%
on enter + space3.7%
on arrow keys2.6%
on w/a/s/d4.5%
frame spread15.8 / 255
console errors0
js errors none

METRICS

runtime38.7s
tokens in4.6k
tokens out2.3k
cached8.4k
cost / run$0.0933