oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.5-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 · 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 using Three.js that:
1. Has a full-screen scene
2. Renders a rotating icosahedron
3. Uses two colored point lights
4. Has orbit-style auto-rotation
5. Has a subtle starfield background

I need to use the pre-provided three.min.js file in the current directory, loading it with a plain script tag.

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:50 . drwxrwsrwx. 3 root node 16 Aug 1 20:50 .. -rw-r--r--. 1 node node 603445 Aug 1 20:50 three.min.js

assistant
thinking
Good, three.min.js is present. Now I'll create the index.html file with all the required features:
1. Full-screen scene
2. Rotating icosahedron
3. Two colored point lights (e.g., blue and orange/red)
4. Orbit-style auto-rotation
5. Subtle starfield background

I'll write everything in a single self-contained HTML file.
write /tmp/ws/index.html (6390 bytes)
toolResult

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

assistant
thinking
The file has been created. Let me verify it's there and readable.
bash {"command":"ls -la /tmp/ws/index.html && head -20 /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 6390 Aug 1 20:50 /tmp/ws/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Three.js Icosahedron Scene</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }

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

Created `index.html` with: - **Full-screen WebGL scene** using Three.js from the local `three.min.js` - **Rotating icosahedron** (1.5 radius) with flat-shaded material and blue wireframe edges - **Two colored point lights**: - Blue/cyan light orbiting on one side - Orange/red light orbiting on the opposite side - **Orbit-style auto-rotation**: The icosahedron rotates while the lights orbit around it - **Subtle starfield background**: 2000 procedurally generated stars with soft glow, slowly rotating Open `index.html` in a browser to see 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-27b
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Rotating icosahedron with two colored point lights and faint starfield; rotates continuously and colors shift with input.

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 click3.8%
on drag3.7%
on wheel6.5%
on enter + space6.9%
on arrow keys2.4%
on w/a/s/d0.4%
frame spread18.7 / 255
console errors0
js errors none

METRICS

runtime37.6s
tokens in12k
tokens out2.2k
cached0
cost / run$0.0057