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.
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
METRICS
Transcript · 4 messages
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.
I'll create a self-contained HTML file with a Three.js scene featuring a rotating icosahedron, colored point lights, and a starfield background.
index.html (3197 bytes)Successfully wrote 3197 bytes to index.html
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.