oneshotlm
Compare all models on this prompt →

Rotating icosahedron · grok-4.3

Output generated Cost / run $0.0110 Runtime 19.2s

Prompt for this run

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 ↗

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

METRICS

runtime19.2s
tokens in9.7k
tokens out1.7k
cached5.1k
cost / run$0.0110
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.