3D solar system · qwen3-coder-flash
Output generated Cost / run $0.0035 Runtime 28.9s
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.
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
METRICS
Transcript · 4 messages
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.
# 3D Solar System with Three.js I'll create a self-contained 3D solar system visualization with the sun, planets, orbiting motion, camera controls, and a starfield background.
index.html (10217 bytes)Successfully wrote 10217 bytes to index.html
I've created a complete 3D solar system simulation using Three.js that includes: 1. A glowing sun at the center with emissive properties 2. Eight planets with different sizes, colors, and orbital speeds 3. Orbit paths for each planet 4. A starfield background with thousands of stars 5. Interactive camera controls (rotate, pan, zoom) 6. Responsive design that adapts to window size 7. Informative UI elements The simulation features: - Realistic planetary sizes and relative distances - Varying orbital speeds (inner planets move faster) - Smooth animations and rotations - Visual effects like sun glow and orbit paths - Intuitive controls with instructions - Clean, space-themed interface To interact with the simulation: - Left-click and drag to rotate the camera - Right-click and drag to pan - Scroll wheel to zoom in/out - Double-click to reset the view The entire application is contained in a single HTML file with no external dependencies beyond the provided three.min.js library.