oneshotlm
Compare all models on this prompt →

Rotating icosahedron · gpt-4.1-mini

Output generated Cost / run $0.0028 Runtime 18.2s

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

modelgpt-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime18.2s
tokens in3.4k
tokens out1.1k
cached1.2k
cost / run$0.0028
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
→ write index.html (3160 bytes)
toolResult

Successfully wrote 3160 bytes to index.html

assistant

I have created a full-screen single-page app in index.html that uses three.min.js to render a rotating icosahedron lit by two colored point lights (red and blue). The camera orbits around the shape automatically to give that orbit-style rotation effect. There's also a subtle starfield background composed of small, dim points scattered in 3D space. You can open index.html in a modern browser to see the effect. Let me know if you want me to adjust colors, rotation speed, or anything else.