oneshotlm
Compare all models on this prompt →

3D solar system · qwen3-vl-8b-instruct

Output generated Cost / run $0.0016 Runtime 16.2s

Prompt for this run

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 ↗

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-vl-8b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime16.2s
tokens in6.6k
tokens out1.9k
cached0
cost / run$0.0016
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

I'll create a 3D solar system with the sun, orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield using THREE.js. First, let me check if the three.min.js file is available in the current directory:

→ bash {"command":"ls -la"}
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

Great! The three.min.js file is available. Now I'll create a complete HTML file with the 3D solar system as requested. I'll build a single-page web app with CSS in a <style> tag and JS in a <script> tag, inline - no external resources or CDNs.

→ write index.html (5744 bytes)
toolResult

Successfully wrote 5744 bytes to index.html

assistant

I've created a complete 3D solar system application with the following features: 1. A starfield background with 10,000 randomly positioned stars 2. The sun as a large yellow sphere with emissive lighting 3. 8 planets (Mercury through Neptune) with varied sizes and colors 4. Each planet orbits at different speeds and distances from the sun 5. Orbit paths visualized as faint rings around each planet's orbit 6. Orbit-drag camera controls for interactive viewing 7. Responsive design that adapts to window size The planets are positioned at increasing distances from the sun and rotate at different speeds to create a realistic solar system simulation. The camera can be rotated using mouse drag for a 360-degree view of the system. The application is self-contained in a single HTML file with inline CSS and JavaScript, using only the provided three.min.js library. You can now open the index.html file in any modern web browser to view the 3D solar system.