oneshotlm
Compare all models on this prompt →

Rotating icosahedron · grok-4.20

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
The task is to build a single-page web app in one self-contained file named index.html. It must include CSS in a <style> tag and JS in a <script> tag. Use the pre-provided three.min.js with <script sr...
bash {"command":"ls -la"}
toolResult

total 592 drwxr-sr-x. 2 node node 26 Aug 1 20:50 . drwxrwsrwx. 3 root node 16 Aug 1 20:50 .. -rw-r--r--. 1 node node 603445 Aug 1 20:50 three.min.js

assistant
thinking
The task is: 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 starfie...The task is to build a single-page web app in one self-contained file named index.html with CSS in <style>, JS in <script>, inline. It uses three.min.js loaded from <script src="three.min.js"></script>.
write index.html (11433 bytes)
toolResult

Successfully wrote 11433 bytes to index.html

assistant
thinking
The task is complete. The index.html has been created with a full-screen Three.js scene featuring a rotating icosahedron (with flat shading and wireframe edges), two colored point lights (magenta and ...

The file **index.html** has been created. Open it in a browser to view the interactive full-screen 3D scene (mouse/touch drag to orbit manually, R/L/F keyboard shortcuts, on-screen buttons). It uses the pre-loaded `three.min.js` and runs completely offline.

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

modelgrok-4.20
vendorxAI · Grok
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Rotating icosahedron with colored lighting and starfield; auto-rotates continuously, wireframe toggles seemingly from lights toggling.

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 motion8.2%
on click4.7%
on drag8.6%
on wheel3.3%
on enter + space3.4%
on arrow keys3.5%
on w/a/s/d3.9%
frame spread41.8 / 255
console errors1
js errors none

METRICS

runtime17.9s
tokens in4.4k
tokens out3.5k
cached3.3k
cost / run$0.0148