oneshotlm
Compare all models on this prompt →

Rotating icosahedron · gemini-3.1-flash-lite

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 · 6 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
thinking
**Defining the Core Features**

I'm now zeroing in on defining the core features of the single-page web app I'm building. The plan includes a full-screen scene, an animated icosahedron, and two colored point lights. The auto-rotation will likely be achieved using Three.js' primitives.


bash {"command":"ls -F"}
toolResult

three.min.js

assistant
thinking
**Constructing Basic Scene**

Okay, I've got `three.min.js` ready. The next step is to get the `index.html` file made so I can get started. I'm going to kick things off by initializing the scene, camera, and renderer. Then, I will set up the full-screen resize handling, and begin developing an icosahedron with `MeshPhongMaterial`.


write index.html (2873 bytes)
toolResult

Successfully wrote 2873 bytes to index.html

assistant

The `index.html` file has been created. It uses the local `three.min.js` to render a full-screen scene featuring a rotating icosahedron lit by two oscillating colored point lights and a static starfield. You can open this file in any web browser to view the result.

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

modelgemini-3.1-flash-lite
vendorGoogle
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

Rotating icosahedron with magenta/cyan point lighting and faint starfield; rotation continues but no clear 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 motion6.3%
on click5.9%
on drag5.9%
on wheel5.8%
on enter + space6.1%
on arrow keys6.2%
on w/a/s/d6.3%
frame spread37.7 / 255
console errors0
js errors none

METRICS

runtime6.7s
tokens in6.5k
tokens out1.6k
cached0
cost / run$0.0040