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.
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.
index.html (3160 bytes)Successfully wrote 3160 bytes to index.html
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.