oneshotlm
Compare all models on this prompt →

Rotating icosahedron · kat-coder-pro-v2

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 ↗
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.

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

EVALUATION

3/5 partial

Rotating icosahedron with blue/yellow lighting and starfield works; keyboard panels show icosahedron off-screen or missing.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion7.9%
on click8.8%
on drag11.0%
on wheel11.1%
on enter + space4.0%
on arrow keys3.8%
on w/a/s/d3.9%
frame spread24.3 / 255
console errors0
js errors none

METRICS

runtime24.7s
tokens in6.1k
tokens out2.5k
cached1.8k
cost / run$0.0045