oneshotlm
Compare all models on this prompt →

Rotating icosahedron · kimi-k2.7-code

Output generated Cost / run $0.0067 Runtime 36.0s

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

modelkimi-k2.7-code
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-08

METRICS

runtime36.0s
tokens in5.1k
tokens out1.2k
cached2.4k
cost / run$0.0067
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
 Let me start by checking the current directory contents to confirm three.min.js is present, then create the index.html file.

→ bash {"command":"ls -la /workspace"}
toolResult

total 644 drwxrwxrwx 3 node node 96 Jul 8 00:33 . drwxr-xr-x 1 root root 4096 Jul 8 00:33 .. -rw-r--r-- 1 node node 603445 Jul 8 00:33 three.min.js

assistant

→ write /workspace/index.html (3968 bytes)
toolResult

Successfully wrote 3968 bytes to /workspace/index.html

assistant

Created `/workspace/index.html` — a self-contained full-screen Three.js scene with: - Rotating low-poly icosahedron (`MeshStandardMaterial`, flat shading) - Two colored point lights (magenta and cyan) + ambient fill - Auto-orbiting camera around the scene - Subtle starfield background using `THREE.Points` distributed on a spherical shell - Local `three.min.js` loaded via plain `<script src="three.min.js"></script>` No external/CDN resources used.