oneshotlm
Compare all models on this prompt →

Rotating icosahedron · gpt-oss-120b

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
We need to create a single index.html with everything inside. There's a three.min.js library file present in current directory. Need to load it via <script src="three.min.js"></script>. Then create scene.

We must write index.html using write tool.

First, inspect directory for three.min.js.
bash {"command":"ls -1"}
toolResult

three.min.js

assistant
thinking
Now create index.html content.

We'll include <style> to ensure body margin 0, canvas full-screen.

Then <script src="three.min.js"></script> and then custom script.

Implementation details: create scene, camera perspective, renderer attached to document.body.

Add starfield: can use Points with random positions.

Add icosahedron geometry with MeshStandardMaterial.

Add two point lights with different colors (e.g., red and blue) positioned.

Add orbit style auto-rotation: maybe we rotate the object itself and also camera orbit? Simpler: rotate the icosahedron over time and also slowly rotate the camera around the scene using spherical coordinates.

Implement animate loop.

Finally write file.

write index.html (2567 bytes)
toolResult

Successfully wrote 2567 bytes to index.html

assistant

The **index.html** file has been created. It loads the pre‑provided `three.min.js`, sets up a full‑screen WebGL renderer, and displays: - A rotating icosahedron with flat shading. - Two colored point lights (red and blue) illuminating the object. - A subtle starfield background. - Automatic orbit‑style camera rotation. All assets are inlined; no external resources are required. The file resides in the current directory as `index.html`.

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-oss-120b
vendorOpenAI
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

Rotating icosahedron with pink/red lighting and faint starfield; no visible reaction to inputs beyond ongoing rotation.

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 motion2.5%
on click3.1%
on drag2.7%
on wheel2.5%
on enter + space2.5%
on arrow keys1.8%
on w/a/s/d3.2%
frame spread15.5 / 255
console errors0
js errors none

METRICS

runtime29.8s
tokens in5.0k
tokens out1.2k
cached0
cost / run$0.0004