oneshotlm
Compare all models on this prompt →

Rotating icosahedron · kimi-k2-thinking

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 user wants me to:
1. Create a single-page web app as index.html
2. Use three.min.js (already provided in the current directory)
3. Render a full-screen scene with:
   - A rotating icosahedron
   - Two colored point lights
   - Orbit-style auto-rotation
   - A subtle starfield background

Let me first check what's in the current directory to see if three.min.js is there.

I'll create a full-screen Three.js scene with a rotating icosahedron, colored lights, and a starfield background. Let me first check the directory structure

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

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

assistant
thinking
Good, three.min.js is present. Now I'll create a single HTML file with embedded CSS and JavaScript that uses Three.js to create the scene as requested.

The requirements are:
1. Full-screen scene
2. Rotating icosahedron
3. Two colored point lights
4. Orbit-style auto-rotation
5. Subtle starfield background

I'll use Three.js from the local file and create everything inline in index.html.

Now I'll create the index.html file with all the required components

write /tmp/ws/index.html (4633 bytes)
toolResult

Successfully wrote 4633 bytes to /tmp/ws/index.html

assistant
thinking
Great! I've successfully created the index.html file. Let me verify the file was created correctly by reading it back.

Perfect! I've created a complete full-screen Three.js scene in `index.html`. Here's what the scene includes: **Features:** - **Rotating Icosahedron**: A multi-faceted shape with metallic material and subtle wireframe overlay - **Two Colored Point Lights**: - Red light orbiting the object - Blue light orbiting in the opposite direction - **Orbit Camera**: The camera automatically orbits around the scene for dynamic viewing - **Starfield Background**: 10,000 semi-transparent particles creating a subtle space atmosphere **Controls:** - No manual controls needed - the scene animates automatically - Responsive to window resizing Just open `index.html` in your browser to view the animated scene!

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

modelkimi-k2-thinking
vendorMoonshot · Kimi
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Rotating icosahedron lit by red/blue point lights over a faint starfield; rotation continues but inputs don't seem to add distinct interactivity.

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 motion3.2%
on click3.6%
on drag4.7%
on wheel3.7%
on enter + space4.0%
on arrow keys4.1%
on w/a/s/d4.5%
frame spread14.8 / 255
console errors0
js errors none

METRICS

runtime11.0s
tokens in6.0k
tokens out1.7k
cached4.0k
cost / run$0.0060