oneshotlm
Compare all models on this prompt →

Rotating icosahedron · grok-4.3

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 · 8 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: Build a single-page web app and write it ALL into one self-contained file named index.html in the current directory: CSS in a <style> tag, JS in a <script> tag, inline — do not create sep...
bash {"command":"ls -la"}
toolResult

total 644 drwxrwxrwx 3 node node 96 Jul 22 16:56 . drwxr-xr-x 1 root root 4096 Jul 22 16:56 .. -rw-r--r-- 1 node node 603445 Jul 22 16:56 three.min.js

assistant
thinking
three.min.js is present. Now create index.html with a self-contained Three.js scene using THREE global.
write index.html (5765 bytes)
toolResult

Successfully wrote 5765 bytes to index.html

assistant
thinking
The file has been created successfully. Let me verify it exists and is complete.
bash {"command":"ls -la && head -20 index.html"}
toolResult

total 652 drwxrwxrwx 4 node node 128 Jul 22 16:56 . drwxr-xr-x 1 root root 4096 Jul 22 16:56 .. -rw-r--r-- 1 node node 5765 Jul 22 16:56 index.html -rw-r--r-- 1 node node 603445 Jul 22 16:56 three.min.js <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Rotating Icosahedron</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { overflow: hidden; background: #000; } canvas { display: block; } </style>

assistant
thinking
The index.html file has been created successfully with all requirements met: full-screen Three.js scene using the local three.min.js, rotating icosahedron with two colored point lights, auto-orbit rot...

index.html present with full-screen rotating icosahedron scene using local three.min.js.

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.3
vendorxAI · Grok
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

Rotating icosahedron with pink/teal point lights and faint starfield; continues animating regardless of input.

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 motion5.2%
on click5.3%
on drag6.7%
on wheel6.2%
on enter + space6.6%
on arrow keys2.8%
on w/a/s/d1.0%
frame spread41.9 / 255
console errors0
js errors none

METRICS

runtime19.2s
tokens in4.7k
tokens out1.7k
cached5.1k
cost / run$0.0110