oneshotlm
Compare all models on this prompt →

Rotating icosahedron · mercury-2

Output generated Cost / run $0.0021 Runtime 5.5s

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime5.5s
tokens in5.7k
tokens out1.3k
cached1.6k
cost / run$0.0021
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
→ bash {"command":"ls -1"}
toolResult

three.min.js

assistant
→ write index.html (2517 bytes)
toolResult

Successfully wrote 2517 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It: - Loads the local `three.min.js` script. - Sets up a full‑screen WebGL renderer. - Adds a rotating icosahedron with a MeshStandardMaterial. - Includes two colored point lights (pink and cyan) for dynamic lighting. - Generates a subtle starfield background using a Points mesh. - Implements an orbit‑style auto‑rotation by moving the camera around the object. - Handles window resizing. You can open `index.html` in a browser to see the scene.