oneshotlm
Compare all models on this prompt →

3D solar system · qwen3.6-flash

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 build a 3D solar system visualization using the pre-provided three.min.js library. Let me first check that the file exists, then create a comprehensive single-page index.html with:

1. Sun and orbiting planets with varied sizes and orbital speeds
2. Camera controls (orbit controls - I'll need to implement basic orbit controls manually since there's no OrbitControls.js provided, or check if three.min.js includes them)
3. Starfield background
4. All in one self-contained index.html

Let me check the three.min.js file first.
bash {"command":"ls -la /workspace/three.min.js /workspace/three.js 2>/dev/null; head -c 200 /workspace/three.min.js 2>/dev/null"}
toolResult

-rw-r--r-- 1 node node 603445 Jul 8 00:46 /workspace/three.min.js /** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&de

assistant
thinking
Good, the file exists and is a valid Three.js min build. Now I'll build the complete solar system app.
write /workspace/index.html (12614 bytes)
toolResult

Successfully wrote 12614 bytes to /workspace/index.html

assistant
thinking
Let me verify the file is present and well-formed.
bash {"command":"ls -la /workspace/index.html && echo \"---\" && head -3 /workspace/index.html && echo \"...\" && tail -3 /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 13400 Jul 8 00:47 /workspace/index.html --- <!DOCTYPE html> <html lang="en"> <head> ... </script> </body> </html>

assistant
thinking
The file has been created successfully. Let me verify it's a valid complete HTML file with all the required components.

`index.html` has been created with everything self-contained. Here's what's included: **Scene Elements:** - **Sun** — glowing sphere with additive-blend sprite halo at the center - **8 planets** (Mercury → Neptune) — each with unique size, orbit radius, and speed proportional to the real relative orbital velocities - **Orbit paths** — faint white ring lines for each planet - **Saturn's rings** — semi-transparent tilted ring geometry - **Starfield** — 8,000 stars with varied colors (blue-white, yellow, white) scattered on a surrounding shell **Camera Controls (drag-based):** - **Left-drag** → orbit around the scene - **Right-drag** → pan - **Scroll wheel** → zoom in/out - **Touch support** → single-finger orbit, pinch-to-zoom **Extras:** - Planet hover labels that follow the 3D position projected to screen space - Point light from the sun + ambient light for lit planet shading - Smooth self-rotation on each planet - Responsive resize handling

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.6-flash
vendorQwen
harnesspi-agent
generated2026-07-08

EVALUATION

4/5 working

Animated solar system with sun, orbiting planets of varied sizes/speeds, ringed planet, starfield, and drag/wheel camera orbit-zoom.

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.1%
on click1.1%
on drag2.8%
on wheel3.6%
on enter + space3.2%
on arrow keys3.0%
on w/a/s/d3.0%
frame spread23.9 / 255
console errors0
js errors none

METRICS

runtime36.1s
tokens in16k
tokens out4.7k
cached0
cost / run$0.0083