oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3.5-flash-02-23

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 · 4 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 Three.js that includes:
1. A full-screen scene
2. A rotating icosahedron
3. Two colored point lights
4. Orbit-style auto-rotation (I assume they mean the camera orbits around the object or the object rotates on its own - I'll do both for a nice effect)
5. A subtle starfield background

They mention three.min.js is already present, so I should load it with a script tag.

Let me write this as a complete HTML file with CSS and JavaScript all inline.
write /tmp/ws/index.html (5347 bytes)
toolResult

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

assistant
thinking
The user asked me to create a single-page web app using the pre-provided three.min.js library. I have written a complete HTML file with embedded CSS and JavaScript that:

1. Renders a full-screen scene using Three.js
2. Creates a rotating icosahedron with both solid mesh and wireframe overlay
3. Lights it with two colored point lights (red/pink and cyan/teal) that orbit around the shape
4. Includes a subtle starfield background with 2000 stars
5. Has orbit-style auto-rotation
6. Handles window resizing
7. Is fully self-contained in one file with no external resources

The file has been written to /tmp/ws/index.html as requested.

Done! I've created `index.html` at `/tmp/ws/index.html` featuring: - **Full-screen WebGL canvas** with Three.js - **Rotating icosahedron** - combines a solid blue mesh with a white wireframe overlay - **Two orbiting point lights**: - Red-pink light orbiting on one plane - Cyan-teal light orbiting on a complementary plane - **Starfield background** - 2000 randomly positioned white stars - **Auto-rotation** - the shape rotates on multiple axes while lights orbit around it - **Responsive design** - handles window resizing Open `index.html` in a browser to see the animated 3D 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-flash-02-23
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Rotating icosahedron with blue lighting and faint starfield, auto-rotates continuously; inputs don't add distinct interactivity.

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 motion2.7%
on click6.6%
on drag5.6%
on wheel4.7%
on enter + space5.3%
on arrow keys7.4%
on w/a/s/d5.2%
frame spread37.5 / 255
console errors0
js errors none

METRICS

runtime12.5s
tokens in4.8k
tokens out1.8k
cached0
cost / run$0.0008