3D solar system · mercury-2
Output generated Cost / run $0.0026 Runtime 7.1s
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 · 6 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.
{"command":"ls -R"}.: three.min.js
index.html (4948 bytes)Successfully wrote 4948 bytes to index.html
The **index.html** file has been created in the current directory. It includes: * Three.js (loaded from the provided `three.min.js`). * A starfield background. * A sun with emissive material and point light. * Eight planets with varied sizes, distances, orbital speeds, and colors. * Simple drag‑to‑rotate camera controls (mouse drag rotates around the scene). * Responsive resizing. You can open `index.html` in a browser (no network access needed) to see the 3D solar system.