oneshotlm
Compare all models on this prompt →

Rotating icosahedron · gemini-3.1-flash-lite-preview

Output generated Cost / run $0.0041 Runtime 6.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.

⛨ 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

modelgemini-3.1-flash-lite-preview
vendorGoogle
harnesspi-agent
generated2026-07-22

METRICS

runtime6.4s
tokens in6.4k
tokens out1.6k
cached0
cost / run$0.0041
Transcript · 6 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
**Developing the Initial Structure**

I'm now focusing on the fundamental structure, envisioning the HTML skeleton of my single-page web app. The existing `three.min.js` will form the foundation. I plan to create a full-screen scene housing a rotating icosahedron and illuminated by two colored point lights. Orbit controls are also on the roadmap.


→ bash {"command":"ls -l three.min.js"}
toolResult

-rw-r--r-- 1 node node 603445 Jul 22 16:56 three.min.js

assistant
thinking
**Initiating HTML Setup**

I've got `three.min.js` ready. My next step is creating `index.html`. I'll start with the HTML boilerplate, include the three.js library, and set up some basic CSS for a full-screen display. Finally, I'll begin the Javascript by initializing things.


→ write index.html (2863 bytes)
toolResult

Successfully wrote 2863 bytes to index.html

assistant

The `index.html` file has been created, incorporating the `three.min.js` library to render a rotating icosahedron in a starfield with dynamic point lighting and automated orbit-style camera movement. You can view the results by opening `index.html` in your browser.