oneshotlm
Compare all models on this prompt →

3D solar system · kimi-k2.5

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 · 6 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
The user wants me to build a 3D solar system using Three.js. Let me break down the requirements:

1. Use the pre-provided three.min.js (global THREE)
2. Sun and orbiting planets
3. Varied speeds and sizes for planets
4. Orbit-drag camera controls
5. Starfield background
6. Single index.html file with inline CSS and JS

Let me start by checking what files are in the workspace to understand the environment.
bash {"command":"ls -la /workspace"}
toolResult

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

assistant
thinking
Good, three.min.js is present. Now I'll create a complete 3D solar system with:
1. The Sun (center, glowing)
2. Multiple planets with varied sizes, colors, and orbital speeds
3. Orbit controls for camera (drag to rotate, scroll to zoom)
4. Starfield background
5. All in a single index.html file

I'll implement orbit controls manually since OrbitControls is a separate module in Three.js. I'll create a simple drag-to-rotate camera system.
write /workspace/index.html (11958 bytes)
toolResult

Successfully wrote 11958 bytes to /workspace/index.html

assistant
thinking
I've created a complete 3D solar system with the following features:

1. **Sun**: Centered with glowing effect and emissive material
2. **8 Planets**: Mercury, Venus, Earth, Mars, Jupiter, Saturn (with rings), Uranus, Neptune
   - Varied sizes and colors
   - Different orbital speeds (inner planets faster, outer slower)
   - Each planet rotates on its own axis
   - Visible orbit paths
3. **Starfield**: 5000 colored stars in the background
4. **Camera Controls**:
   - Left click + drag to rotate around the solar system
   - Scroll to zoom in/out
   - Touch support for mobile
5. **Lighting**: Point light from the sun, ambient light

All contained in a single index.html file using the pre-provided three.min.js.

Created a complete 3D solar system in `/workspace/index.html` with: **Features:** - **Sun** - Glowing center with emissive glow effect - **8 Planets** - Mercury, Venus, Earth, Mars, Jupiter, Saturn (with rings), Uranus, Neptune - Varied sizes (1.5 to 7 units) and orbital distances - Different speeds (inner planets orbit faster) - Visible orbital paths - **Starfield** - 5000 colored stars in the background - **Camera Controls** - Click+drag to orbit, scroll to zoom - **Lighting** - Sun emits light; planets cast/receive shadows **Planet speeds/orbits increase realism** - Mercury orbits fastest, Neptune slowest. Each planet also rotates on its axis.

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.5
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Sun with orbiting planets and rings, starfield background, planets animate continuously and camera responds to drag/wheel.

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 click2.1%
on drag2.6%
on wheel5.0%
on enter + space2.1%
on arrow keys2.3%
on w/a/s/d2.2%
frame spread30.1 / 255
console errors0
js errors none

METRICS

runtime84.3s
tokens in4.2k
tokens out3.7k
cached3.3k
cost / run$0.0097