oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.7-flash

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-page web app (index.html) that:
1. Uses three.min.js already in the directory
2. Renders a full-screen 3D scene with:
   - A rotating icosahedron
   - Lit by two colored point lights
   - Orbit-style auto-rotation
   - Subtle starfield background

Let me first verify three.min.js exists in the current directory, then write the index.html.
bash {"command":"ls -la /tmp/ws/three.min.js"}
toolResult

-rw-r--r--. 1 node node 603445 Aug 1 18:00 /tmp/ws/three.min.js

assistant
thinking
Good, the file exists. Now let me write the index.html with everything inline using three.min.js from the local file.
write /tmp/ws/index.html (4276 bytes)
toolResult

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

assistant
thinking
Done. Let me verify the file is there and complete.
bash {"command":"ls -la /tmp/ws/index.html && wc -l /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 4972 Aug 1 18:00 /tmp/ws/index.html 127 /tmp/ws/index.html

assistant
thinking
All good. Let me summarize what was built.

Done. `/tmp/ws/index.html` is ready (127 lines, fully self-contained). Here's what it includes: | Feature | Detail | |---|---| | **3D engine** | Local `three.min.js` via `<script src="three.min.js">` | | **Icosahedron** | `MeshStandardMaterial` with flat shading + a subtle wireframe overlay | | **Lighting** | Two orbiting `PointLight`s — warm red (`#ff4466`) and cool blue (`#44aaff`) — plus a dim ambient fill | | **Auto-rotation** | Y-axis spin at steady rate + gentle X-axis oscillation on the mesh; lights also orbit independently | | **Starfield** | 2,000 `Points` scattered in a sphere around the scene for depth | | **Responsive** | Full-screen canvas that resizes with the viewport | Open the file in a browser — no server or network needed.

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.7-flash
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Rotating icosahedron with two colored point lights and starfield background, self-rotates continuously as intended.

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 motion10.1%
on click14.8%
on drag7.8%
on wheel13.8%
on enter + space14.0%
on arrow keys5.5%
on w/a/s/d13.9%
frame spread91.3 / 255
console errors0
js errors none

METRICS

runtime17.6s
tokens in10k
tokens out1.9k
cached0
cost / run$0.0006