oneshotlm
Compare all models on this prompt →

3D solar system · qwen3.5-plus-02-15

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 · 4 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 with:
   - CSS in a <style> tag
   - JS in a <script> tag
   - Include three.min.js from the current directory
   - Build a solar system with:
     - Sun at the center
     - Planets orbiting at varied speeds and sizes
     - Orbit-drag camera controls (I'll implement this manually since we can't use external OrbitControls)
     - Starfield background

Let me create this self-contained HTML file.
write /tmp/ws/index.html (10958 bytes)
toolResult

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

assistant
thinking
Done! I've created a complete 3D solar system web app in a single self-contained `index.html` file.

Features:
- **Sun** with glowing effect at the center
- **8 planets** (Mercury through Neptune) with:
  - Varied sizes (Mercury smallest at 2, Jupiter largest at 12)
  - Different orbital distances
  - Different orbital speeds (inner planets orbit faster)
  - Unique colors
  - Saturn has rings
- **Orbit lines** showing each planet's path
- **Starfield** with 10,000 stars in the background
- **Orbit-drag camera controls**:
  - Drag to rotate around the solar system
  - Scroll to zoom in/out
  - Shift + Drag to pan
  - Touch support for mobile
- **Info panel** showing controls
- All CSS and JavaScript inline, no external dependencies except the local `three.min.js`

Created `index.html` with a complete 3D solar system featuring: - **Sun** with glowing effect at the center - **8 planets** (Mercury → Neptune) with varied sizes, distances, orbital speeds, and colors - **Saturn's rings** - **Orbit paths** visualized as rings - **10,000-star starfield** background - **Orbit-drag camera controls**: - 🖱️ Drag to rotate view - 🔍 Scroll to zoom - ⇧ Shift + Drag to pan - Touch support for mobile

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-plus-02-15
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Solar system with sun, orbiting planets of varied sizes/speeds, starfield, and responsive drag/zoom 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 motion0.8%
on click2.1%
on drag2.3%
on wheel5.5%
on enter + space5.9%
on arrow keys3.7%
on w/a/s/d0.8%
frame spread41.3 / 255
console errors0
js errors none

METRICS

runtime47.5s
tokens in6.4k
tokens out3.5k
cached0
cost / run$0.0072