oneshotlm
Compare all models on this prompt →

3D solar system · seed-2.0-code

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
Let me understand the task:
1. Create a 3D solar system using Three.js (three.min.js)
2. Include the sun and orbiting planets
3. Planets should have varied sizes and orbital speeds
4. Add orbit-drag camera controls
5. Add a starfield background
6. All code should be in a single index.html file with inline CSS and JS
7. No external resources or network requests - fully sandboxed

Let me start by creating the index.html file.

I'll create a 3D solar system using Three.js with orbit controls, varied planet sizes and speeds, and a starfield background.

write /tmp/ws/index.html (15806 bytes)
toolResult

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

assistant
thinking
Now let me verify the file was created successfully and check if three.min.js exists in the current directory.

Let me verify the files are present:

bash {"command":"ls -la /tmp/ws"}
toolResult

total 608 drwxr-sr-x. 2 node node 44 Aug 13 01:33 . drwxrwsrwx. 3 root node 16 Aug 13 01:32 .. -rw-r--r--. 1 node node 15820 Aug 13 01:33 index.html -rw-r--r--. 1 node node 603445 Aug 13 01:32 three.min.js

assistant
thinking
Perfect! Both index.html and three.min.js are present. Let me also verify that the HTML file is valid and complete.

The solar system includes:
- Sun with glow effects
- 8 planets (Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune)
- Earth has a moon
- Saturn has rings
- Planets have varied sizes and orbital speeds
- Orbit lines for each planet
- Starfield background
- Orbit controls (drag to rotate, right-click to pan, scroll to zoom)
- Speed control slider
- Responsive design

Let me check if the HTML is well-formed.

The 3D Solar System is complete! Here's what's included: **Features:** - 🌞 Animated Sun with glow effects - 🌍 8 Planets with accurate relative sizes and orbital speeds - 🌙 Moon orbiting Earth - 💫 Saturn with visible rings - ⭐ Starfield background (15,000 stars) - 🎮 Interactive orbit controls: - Left-click + drag: Rotate view - Right-click + drag: Pan - Scroll: Zoom in/out - 🎚️ Adjustable orbit speed (0x to 5x) - 📊 Orbit lines for each planet **Files created:** - `/tmp/ws/index.html` - Complete 3D solar system application - `/tmp/ws/three.min.js` - Three.js library (already present) The application is fully self-contained with no external dependencies or network requests. Just open `index.html` in a browser to explore the 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

modelseed-2.0-code
vendorByteDance · Seed
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Solar system with sun, orbiting planets, starfield, and orbit-drag camera controls all respond correctly to input.

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.6%
on click1.5%
on drag1.8%
on wheel1.5%
on enter + space0.7%
on arrow keys0.7%
on w/a/s/d0.8%
frame spread19.1 / 255
console errors0
js errors none

METRICS

runtime65.0s
tokens in14k
tokens out4.7k
cached4.8k
cost / run$0.0188