oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.6-27b

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 · 10 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 a single-page web app (index.html) that uses three.min.js (already present in the workspace) to create:
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, then create the index.html file.
bash {"command":"ls -la /workspace/three.min.js"}
toolResult

-rw-r--r-- 1 node node 603445 Jul 31 03:08 /workspace/three.min.js

assistant
thinking
Good, three.min.js is present. Now let me create the index.html file with all the required features.
write /workspace/index.html (5879 bytes)
toolResult

Successfully wrote 5879 bytes to /workspace/index.html

assistant
thinking
The file has been created. Let me verify it's present and well-formed.
bash {"command":"ls -la /workspace/index.html /workspace/three.min.js"}
toolResult

-rw-r--r-- 1 node node 5943 Jul 31 03:09 /workspace/index.html -rw-r--r-- 1 node node 603445 Jul 31 03:08 /workspace/three.min.js

assistant
thinking
The file is created successfully. Let me verify the HTML file is well-formed and contains everything we need.
bash {"command":"head -5 /workspace/index.html && echo \"---\" && grep -c 'script\\|style\\|three\\.min' /workspace/index.html"}
toolResult

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> --- 6

assistant
thinking
Everything looks good. Let me give a summary of what was built.

Done. `/workspace/index.html` is a fully self-contained single-page app that uses the local `three.min.js`. Here's what it renders: - **Full-screen WebGL scene** — dark background (`#050510`) with ACES filmic tone mapping - **Rotating icosahedron** — `IcosahedronGeometry` with metallic `MeshStandardMaterial` (flat shading), plus a subtle blue wireframe overlay via `EdgesGeometry` - **Two colored point lights** — a cyan light (`#44ccff`) and a magenta light (`#ff44aa`), both slowly orbiting the scene on different paths/frequencies for dynamic color shifts - **Orbit-style auto-rotation** — the camera orbits the origin at a gentle pace while the icosahedron spins on all three axes - **Subtle starfield** — 2,000 particles on a distant sphere shell with per-star size variation, additive blending, and a twinkle effect driven by a custom vertex/fragment shader No network requests, no external dependencies — just `three.min.js` loaded via `<script src="three.min.js">`.

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.6-27b
vendorQwen
harnesspi-agent
generated2026-07-31

EVALUATION

3/5 working

Rotating icosahedron with pink/blue point lights and faint starfield, animates continuously but stays small and centered.

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 motion5.9%
on click7.3%
on drag7.2%
on wheel8.9%
on enter + space8.5%
on arrow keys8.8%
on w/a/s/d5.4%
frame spread62.7 / 255
console errors0
js errors none

METRICS

runtime53.8s
tokens in2.9k
tokens out2.6k
cached12k
cost / run$0.0089