oneshotlm
Compare all models on this prompt →

Rotating icosahedron · claude-sonnet-5.5

Output generated Cost / run $0.0296 Runtime 19.9s

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

modelclaude-sonnet-5.5
vendorAnthropic · Claude
harnesspi 0.87.1 · browser iteration
generated2026-10-05

METRICS

runtime19.9s
tokens in12k
tokens out1.8k
cached7.6k
cost / run$0.0296
Transcript · 8 messages
system

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; head -c 300 three.min.js | grep -o \"REVISION[^,]*\" ; grep -o 'REVISION=\"[0-9a-z]*\"' three.min.js | head -1"}
toolResult

three.min.js

assistant
→ bash {"command":"cat > index.html <<'E'\n<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Icosahedron</title>\n<style>html,body{margin:0
→ browser {"action":"screenshot"}
toolResult

(no output)

toolResult

Frame 1, +0ms

[Browser image supplied to model]

{"console":["warning: An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.","warning: [.WebGL-0x24e400141e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels","warning: [.WebGL-0x24e400141e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels","warning: [.WebGL-0x24e400141e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels","warning: [.WebGL-0x24e400141e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)"],"dom":"","images":"attached"}

assistant

I wrote the scene to `index.html`, and it renders in the browser with no errors. I took one screenshot and didn't test interactions or watch the animation over time. The screenshot shows a faceted icosahedron lit mainly pink, with a bright blue highlight on its left edge. Small stars are scattered across a dark background. - **Icosahedron:** It rotates on two axes. It has a faint wireframe overlay. - **Lights:** A pink point light and a blue point light orbit it. Each has a small glowing marker sphere. In the screenshot the pink marker, at top right, looks stretched into an oval by the wide-angle perspective near the screen edge. - **Camera:** It drifts slowly around the shape on its own. There is no mouse control. - **Starfield:** 1,500 points sit on a distant shell and turn very slowly. - **Layout:** The canvas fills the window and resizes with it. It loads `three.min.js` from the same folder and uses no network resources.