oneshotlm
Compare all models on this prompt →

3D solar system · kimi-k2.7-code

Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.

⛨ sandboxed Open in new tab ↗
transcript · 8 messages
user

Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.

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

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

assistant

write /workspace/index.html (10324 bytes)
toolResult

Successfully wrote 10324 bytes to /workspace/index.html

assistant
thinking
 We should verify that the file was created correctly and that it uses the local three.min.js. We can run a quick check.

bash {"command":"grep -c \"three.min.js\" /workspace/index.html && ls -la /workspace/index.html"}
toolResult

1 -rw-r--r-- 1 node node 10324 Jul 8 00:47 /workspace/index.html

assistant

Built `/workspace/index.html` as a self-contained 3D solar system: - Loads the local `three.min.js` with a plain `<script src="three.min.js">` tag. - Sun with an emissive glow/pulse. - 8 orbiting planets at varied sizes, distances, and orbital speeds, with self-rotation and slight orbital tilt. - Saturn gets a rings child mesh. - Faint orbit rings for each planet. - Starfield using `THREE.Points` with colored vertex colors. - Custom orbit-drag camera controls: left-drag to rotate around the center, right-drag to pan, scroll to zoom, plus basic touch support. - No external resources or CDNs. Open `index.html` in a browser to view the 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.7-code
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-08

EVALUATION

3/5 working

3D solar system with sun, orbiting planets of varied sizes/colors, rings, faint starfield, and drag-orbit camera control working.

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 motion1.5%
on click1.9%
on drag1.3%
on wheel2.3%
on enter + space0.7%
on arrow keys0.9%
on w/a/s/d1.4%
frame spread25.8 / 255
console errors0
js errors none

METRICS

runtime42.8s
tokens in461
tokens out3.7k
cached12k
cost / run$0.0151