oneshotlm
Compare all models on this prompt →

Rotating icosahedron · kat-coder-pro-v2

Output generated Cost / run $0.0045 Runtime 24.7s

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

modelkat-coder-pro-v2
vendorKwaipilot
harnesspi-agent
generated2026-07-31

METRICS

runtime24.7s
tokens in6.1k
tokens out2.5k
cached1.8k
cost / run$0.0045
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

I'll create a single-page web app with a rotating icosahedron, colored point lights, and a starfield background using Three.js.

→ write /workspace/index.html (9021 bytes)
toolResult

Successfully wrote 9021 bytes to /workspace/index.html

assistant

Done! I've created a single-page web app (`index.html`) featuring: - **Full-screen Three.js scene** with a rotating icosahedron - **Two colored point lights**: Blue (moving) and orange (moving) for dynamic lighting - **Orbit-style controls**: Click and drag to rotate the view, scroll to zoom - **Auto-rotation**: The icosahedron rotates continuously - **Starfield background**: 2000 stars with custom shader for a subtle, twinkling effect - **Interactive features**: Mouse and touch support for mobile compatibility - **Responsive design**: Automatically adjusts to window resizing The scene includes a Phong-material icosahedron with wireframe overlay, animated light positions, and a slowly rotating starfield for depth. The controls allow users to explore the scene while the object continues its automatic rotation.