oneshotlm
Compare all models on this prompt →

Rotating icosahedron · ring-2.6-1t

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 · 6 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
The user wants me to create a single-page web app (index.html) that uses three.min.js (which is already in the current directory) to render a 3D scene with:
1. A rotating icosahedron
2. Two colored point lights
3. Orbit-style auto-rotation
4. A subtle starfield background
5. Full-screen scene
6. All CSS and JS inline in the HTML file
7. No external resources - load three.min.js from local file

Let me first check that three.min.js exists in the current directory.
bash {"command":"ls -la /tmp/ws/three.min.js"}
toolResult

-rw-r--r--. 1 node node 603445 Aug 1 20:51 /tmp/ws/three.min.js

assistant
thinking
three.min.js is present. Now I'll create the index.html file with everything inline. The scene will include:

1. A full-screen renderer
2. An icosahedron geometry with a basic material
3. Two colored point lights (e.g., magenta and cyan)
4. Auto-rotation in an orbit style (rotating around the center)
5. A starfield background using particles or points
6. All CSS and JS inline

Let me write the complete HTML file.
write /tmp/ws/index.html (4908 bytes)
toolResult

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

assistant
thinking
The file has been written successfully. Let me verify it's in place and looks correct.

✅ **index.html** is ready at `/tmp/ws/index.html`. Here's what it includes: - **Three.js** loaded via local `<script src="three.min.js">` - **Full-screen WebGL renderer** with auto pixel-ratio support - **Icosahedron** (`IcosahedronBufferGeometry` with `MeshStandardMaterial`) plus a subtle wireframe overlay - **Two colored point lights** — magenta (`0xff00ff`) and cyan (`0x00ffff`) — that orbit the scene over time - **Orbit-style auto-rotation** that slowly pans around the icosahedron; pauses on user drag, resumes after 3s of inactivity - **8,000-particle starfield** (`Points`) drifting slowly in the background - **Mouse/touch drag** to manually rotate, with clamped polar angle - **Resize handler** and `requestAnimationFrame` loop with delta timing No external requests, no CDN, no separate files — fully self-contained.

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

modelring-2.6-1t
vendorinclusionai
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Rotating icosahedron with pink/cyan point lights and starfield; auto-rotates but inputs cause no meaningful interaction beyond rotation state.

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 motion17.0%
on click18.4%
on drag19.3%
on wheel18.3%
on enter + space18.6%
on arrow keys18.3%
on w/a/s/d18.0%
frame spread33.3 / 255
console errors0
js errors none

METRICS

runtime18.5s
tokens in7.2k
tokens out2.2k
cached1.8k
cost / run$0.0018