oneshotlm
Compare all models on this prompt →

3D solar system · qwen3.5-122b-a10b

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 3D solar system visualization using Three.js. The requirements are:
1. All in one index.html file (CSS in <style>, JS in <script>)
2. No external resources/CDNs - use the local three.min.js
3. Sun and orbiting planets with varied speeds and sizes
4. Orbit controls for camera drag
5. Starfield background

I need to check if three.min.js exists in the current directory first, then create the HTML file.
bash {"command":"ls -la /tmp/ws/"}
toolResult

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

assistant
thinking
Great, three.min.js is present. Now I'll create the index.html file with a complete 3D solar system visualization including:
1. Sun (glowing yellow sphere)
2. Planets orbiting at different speeds and distances
3. Starfield background
4. OrbitControls for camera manipulation
5. All inline CSS and JS

I need to include OrbitControls as well - since only three.min.js is provided, I'll need to implement basic orbit controls or check if it's included in three.min.js. Actually, OrbitControls is typically a separate addon. Let me create a simpler camera control or implement basic rotation controls manually.

Actually, looking at typical three.min.js bundles, OrbitControls is usually a separate file. Since we only have three.min.js, I'll implement simple mouse-based camera rotation manually using THREE's built-in functionality.

Let me create the complete solar system:
write /tmp/ws/index.html (10608 bytes)
toolResult

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

assistant
thinking
The file has been created successfully. Let me verify it exists and is complete.
bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 10608 Aug 1 20:47 /tmp/ws/index.html

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

Done! Created `index.html` with a complete 3D solar system featuring: - **Sun** - Glowing yellow sphere at the center with a glow effect - **8 Planets** - Mercury, Venus, Earth, Mars, Jupiter, Saturn (with rings), Uranus, Neptune - Varied sizes and distances from the sun - Different orbital speeds (Mercury fastest, Neptune slowest) - Earth has a moon orbiting it - **Starfield** - 10,000 randomly positioned stars in the background - **Orbit controls** - Drag to rotate camera, scroll to zoom (mouse + touch support) - **Orbit paths** - Visual rings showing each planet's orbit Open `index.html` in a browser to view the interactive solar system.

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-122b-a10b
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

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

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.4%
on click2.6%
on drag3.7%
on wheel10.4%
on enter + space13.7%
on arrow keys6.0%
on w/a/s/d0.9%
frame spread29.3 / 255
console errors0
js errors none

METRICS

runtime34.6s
tokens in14k
tokens out3.4k
cached0
cost / run$0.0107