oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.5-plus-20260420

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
The user wants me to create a single HTML file that uses the pre-provided three.min.js to render:
1. A full-screen scene
2. A rotating icosahedron
3. Two colored point lights
4. Orbit-style auto-rotation
5. A subtle starfield background

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
Good, the file exists. Now I'll create the index.html with all the requirements:
1. Full-screen scene
2. Rotating icosahedron
3. Two colored point lights
4. Orbit-style auto-rotation
5. Subtle starfield background
6. All inline in one file, using the local three.min.js
write /tmp/ws/index.html (5107 bytes)
toolResult

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

assistant
thinking
Now let me verify the file exists and is well-formed:
bash {"command":"ls -la /tmp/ws/index.html && echo \"---\" && wc -l /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 5107 Aug 1 20:52 /tmp/ws/index.html --- 159 /tmp/ws/index.html

assistant
thinking
Perfect. Let me verify the file is well-formed.

`/tmp/ws/index.html` is ready. Here's what's in it: **Scene elements:** - **Icosahedron** — subdivided once (detail=1) with a `MeshStandardMaterial` (purple, metallic, flat-shaded) + a subtle wireframe overlay for extra visual depth - **Two colored point lights** — red (`#ff4444`) orbiting on one path, cyan (`#44ddff`) on another, each with small glowing bulb markers - **Starfield** — 3,000 color-tinted particles (slightly blue/white/red variation) distributed over a large sphere, fading with distance **Motion:** - **Orbit-style auto-rotation** — the camera smoothly orbits around the icosahedron in a figure-8 vertical path, always looking at the center - **Self-rotation** — the icosahedron rotates on all three axes at different speeds - **Light orbit** — both lights independently orbit the scene, creating shifting color reflections on the metallic surface **Technical details:** - All CSS inline, all JS inline, loads `three.min.js` via `<script src>` - Fully self-contained — no network requests, no CDNs - Responsive — handles window resize events - Uses `ACESFilmicToneMapping` and `FogExp2` for atmosphere

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

modelqwen3.5-plus-20260420
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Rotating icosahedron with pink/blue point lights and starfield, auto-rotates continuously but inputs don't add distinct interaction.

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.7%
on click10.7%
on drag10.0%
on wheel11.4%
on enter + space11.5%
on arrow keys9.5%
on w/a/s/d11.1%
frame spread75 / 255
console errors0
js errors none

METRICS

runtime46.8s
tokens in11k
tokens out2.3k
cached0
cost / run$0.0074