Rotating icosahedron · nova-2-lite-v1
Output generated Cost / run $0.0198 Runtime 45.4s
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 · 6 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.
thinking
[REDACTED].
index.html (3403 bytes)Successfully wrote 3403 bytes to index.html
thinking
[REDACTED].
{"command":"ls -l"}total 596 -rw-r--r--. 1 node node 3403 Aug 1 20:51 index.html -rw-r--r--. 1 node node 603445 Aug 1 20:51 three.min.js
thinking
[REDACTED].
✅ Done! `index.html` now contains a fully self-contained Three.js scene: - **Rotating icosahedron** with Phong shading - **Two colored point lights** (red + blue) - **Orbit-style camera** circling the scene - **Subtle starfield** background via 15k points - **Responsive** to window resize Open `index.html` in any modern browser to see the animated scene. No external resources or network requests are required — everything runs sandboxed with the local `three.min.js`.