oneshotlm
Compare all models on this prompt →

Rotating icosahedron · gpt-4.1-mini

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

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

EVALUATION

3/5 working

Rotating icosahedron with red/blue point lights and faint starfield; auto-rotates continuously, minimal reaction to inputs.

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.0%
on click5.5%
on drag8.8%
on wheel2.0%
on enter + space1.9%
on arrow keys1.1%
on w/a/s/d2.3%
frame spread19.9 / 255
console errors0
js errors none

METRICS

runtime18.2s
tokens in3.4k
tokens out1.1k
cached1.2k
cost / run$0.0028