oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3-coder

Output generated Cost / run $0.0014 Runtime 31.8s

Prompt for this run

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 ↗

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

METRICS

runtime31.8s
tokens in4.3k
tokens out986
cached4.2k
cost / run$0.0014
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

I'll create a self-contained HTML file with a Three.js scene featuring a rotating icosahedron, colored point lights, and a starfield background.

→ write index.html (3197 bytes)
toolResult

Successfully wrote 3197 bytes to index.html

assistant

The self-contained HTML file has been created successfully. It features: 1. A rotating icosahedron rendered with Three.js 2. Two colored point lights (pink and blue) illuminating the scene 3. A subtle starfield background with 5000 stars 4. Orbit-style auto-rotation of the camera around the scene 5. Responsive design that adapts to window resizing 6. Smooth animation using requestAnimationFrame The file loads the pre-provided three.min.js library and creates a full-screen WebGL scene with all the requested elements. The icosahedron rotates continuously while the camera slowly orbits around it, creating an engaging 3D visualization against a starry background.