oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.5-122b-a10b

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 with a 3D scene using Three.js. The requirements are:
1. Single self-contained index.html file
2. CSS in <style> tag, JS in <script> tag - inline
3. No external resources/CDNs/network requests
4. Use the pre-provided three.min.js library
5. Full-screen scene with:
   - Rotating icosahedron
   - Two colored point lights
   - Orbit-style auto-rotation
   - Subtle starfield background

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

total 592 drwxr-sr-x. 2 node node 26 Aug 1 20:51 . drwxrwsrwx. 3 root node 16 Aug 1 20:51 .. -rw-r--r--. 1 node node 603445 Aug 1 20:51 three.min.js

assistant
thinking
Good, three.min.js is present. Now I'll create the index.html file with all the required features:
- Full-screen canvas
- Rotating icosahedron with materials that respond to light
- Two colored point lights (maybe one warm, one cool)
- Orbit-style auto-rotation around the scene
- Starfield background using particles

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

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

assistant
thinking
The file has been created successfully. Let me verify it exists and show a summary of what was built.
bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 5184 Aug 1 20:51 /tmp/ws/index.html

assistant
thinking
The file has been created successfully. Let me provide a summary of what was built.

Created `index.html` with all features: - **Rotating Icosahedron**: Standard material with roughness/metalness for light response, plus wireframe overlay - **Two Colored Point Lights**: Pink (0xff6699) and cyan (0x66ccff), orbiting around the scene - **Orbit-style Auto-rotation**: Camera smoothly orbits around the center while looking at the icosahedron - **Starfield Background**: 2000 particles distributed in a sphere, slowly rotating for subtle movement - **Full-screen responsive canvas** with no external dependencies Open `index.html` in a browser to view the animated scene.

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-122b-a10b
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Rotating icosahedron with pink/blue point lights and starfield background, self-animating; inputs cause slight rotation changes.

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 motion1.3%
on click9.0%
on drag10.6%
on wheel10.4%
on enter + space8.5%
on arrow keys6.9%
on w/a/s/d7.2%
frame spread28.7 / 255
console errors0
js errors none

METRICS

runtime18.8s
tokens in11k
tokens out1.9k
cached0
cost / run$0.0067