oneshotlm
Compare all models on this prompt →

3D solar system · qwen3.5-397b-a17b

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
The user wants me to create a single-page web app with a 3D solar system using Three.js. I need to:

1. Create an index.html file that's self-contained
2. Use the pre-provided three.min.js library (load it with `<script src="three.min.js"></script>`)
3. Build a 3D solar system with:
   - Sun at the center
   - Planets orbiting at varied speeds and sizes
   - Orbit-drag camera controls (I'll need to implement this or use Three.js OrbitControls if available in the library)
   - A starfield background

Let me first check if three.min.js exists in the current directory.
bash {"command":"ls -la /tmp/ws/"}
toolResult

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

assistant
thinking
Good, three.min.js exists. Now I need to create the index.html file with:
1. A self-contained HTML file with inline CSS and JS
2. Load three.min.js from the same directory
3. Create a 3D solar system with sun, planets, orbit controls, and starfield

Let me create a comprehensive solar system visualization.
write /tmp/ws/index.html (14513 bytes)
toolResult

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

assistant
thinking
The file has been created successfully. Let me verify it exists and provide a summary to the user.
bash {"command":"ls -la /tmp/ws/"}
toolResult

total 608 drwxr-sr-x. 2 node node 44 Aug 1 20:46 . drwxrwsrwx. 3 root node 16 Aug 1 20:45 .. -rw-r--r--. 1 node node 14531 Aug 1 20:46 index.html -rw-r--r--. 1 node node 603445 Aug 1 20:45 three.min.js

assistant
thinking
The index.html file has been created successfully. Let me provide a summary of what was built.

Created `index.html` with a complete 3D solar system featuring: **Features:** - **Sun** - Glowing yellow sphere at center with point light illumination - **8 Planets** - Mercury through Neptune with: - Varied sizes (Mercury smallest, Jupiter largest) - Different orbital distances - Different orbital speeds (inner planets faster) - Unique colors matching real planets - Saturn has rings - **Orbit paths** - Visible ring guides showing each planet's orbit - **Starfield** - 10,000 stars in the background - **Orbit-drag camera controls:** - Left drag: Rotate around the scene - Right drag: Pan camera - Scroll: Zoom in/out - **Planet info** - Click any planet to see its name and description **Tech:** - Loads `three.min.js` locally (no CDN) - Custom OrbitControls implementation - All CSS/JS inline in single file - Responsive to window resize

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

modelqwen3.5-397b-a17b
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

3D solar system with sun, orbiting planets of varied sizes/speeds, starfield, and responsive drag/wheel/keyboard camera controls.

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.5%
on drag1.8%
on wheel3.5%
on enter + space4.5%
on arrow keys4.3%
on w/a/s/d3.5%
frame spread25.4 / 255
console errors0
js errors none

METRICS

runtime60.4s
tokens in15k
tokens out4.3k
cached0
cost / run$0.0160